pyret-lang icon indicating copy to clipboard operation
pyret-lang copied to clipboard

The Pyret language.

Results 172 pyret-lang issues
Sort by recently updated
recently updated
newest added

Following our convention that imperative operations are named `-now`, shouldn't `.pick` really be `.pick-now`, to indicate that the next time it may not give the same result? (Arguably the same...

``` data NeLoN: | one(n :: Number) | more(n :: Number, r :: NeLoN) end fun ra-to-nelon(r :: RawArray) -> NeLoN: len = raw-array-length(r) fun make-from-index(n :: Number): v =...

horizon-fixed

https://www.pyret.org/docs/latest/Expressions.html#%28part._s~3aconstruct-expr%29 gives an example of the `weird` constructor. The test suite shown is actually erroneous in the two-argument case: ![image](https://user-images.githubusercontent.com/75030/134439542-41e42d62-0255-41ec-bff3-ad2bc7905b68.png)

provide-alias.arr: ``` use context essentials2020 provide: type Name end type Name = String ``` include-alias.arr: ``` use context essentials2020 include file("provide-alias.arr") x :: Name = "a" ``` Running with the...

It looks like constructor printing used to be overridden for the sake of errors. However, this is silly because we want constructor printing for spying on types and so on...

If I have this: include image STRIPE = rectangle(100, 50, "outline", "black") CIRCLE = circle(25, "solid", "red") overlay(CIRCLE, beside(STRIPE, STRIPE)) overlay(beside(STRIPE, STRIPE), CIRCLE) overlay(CIRCLE, above(STRIPE, STRIPE)) overlay(above(STRIPE, STRIPE), CIRCLE) The...

Hi all, I think it'd be great for discoverability of the language and for ease of use to publish `pyret-mode` and `pyret-debug-mode` to Emacs' MELPA. Thanks for the good work!

After massaging a bit `src/js/base/pyret-grammar.bnf` and add tokens from `src/js/base/pyret-tokenizer.js` and copying the resulting EBNF shown bellow on https://www.bottlecaps.de/rr/ui in the TAB `Edit Grammar` and then swithcing to the TAB...

This PR implements a bunch of CLI-focused changes for the Pyret server. This needs some changes before it can merge. For example, package.json and the README were designed to work...

``` include statistics modes([list: "a","b"]) ```