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

I see this pattern popping up a few times, where we create an object mostly for the benefit of using one of its methods. The object is created inline and...

We should have machine-readable output formats for test results, e.g. --check-json.

enhancement

Running Pyret from the CLI misses out on lots of great error infrastructure and the REPL with the most design effort put into it. Firing up a CPO instance locally...

enhancement

In the lists module, there are .foldl and .foldr methods, but no foldl and foldr functions. These should be defined.

Can we have it so that doc strings and annotations are presented by the REPL? E.g. ``` > foo foo :: String * Number -> Tree consumes a string and...

enhancement
bootstrap-wanted

I'd like to share a demo game and not show the source code, is there a way to do this where only the game screen comes up (as in Wescheme)?

[This line](https://github.com/brownplt/pyret-lang/blob/a5d99d0e9a1ace2e6f3504d62e2b913dd97949eb/src/arr/compiler/desugar.arr#L473) in `desugar.arr` refers to `A.s-ann` (where `A` is `ast.arr`), which does not seem to exist. I'm _guessing_ this line was intended to be ``` | s-ref(l, ann) =>...

See ds26gte/pyret-lang@8f01a67 for fix. Issue showed up as ds26gte/pyret-lang#19.

If you compare two roughnums for equality, you get a somewhat useful error: it tells you to use `within`. Unfortunately, because we don't yet have links to function documentation, it's...

Currently, the compiler (the one freshly merged from `new-horizons`) is extremely sensitive to where and how you run it in a few ways: This works: ``` pyret-lang$ node build/phaseA/pyret.jarr --builtin-js-dir...

enhancement