Joe Politz
Joe Politz
Thanks, this we can definitely improve. Looks like a stringly-constructed message in a library rather than a custom error constructor. On Mon, Apr 26, 2021 at 8:12 AM, Shriram Krishnamurthi...
Yeah, agreed. This is possible now by defining an object with render-reason and/or render-fancy-reason methods. But actually writing those methods in JS would be painful and needs a better API....
https://github.com/brownplt/pyret-lang/issues/1525
The issue with overriding `_output` is that it then becomes super annoying to get all the source location printing, etc back. We'd end up implementing a really big method to...
To follow on to this discussion – I just ran into a situation where I wanted to print a `string-dict` that _contained_ types. That is really onerous to manage with...
Thanks, that needs a better error message. The intent of brand() is that it can only be applied to objects, not to primitive values, so that should be a specific...
We could do @schanzer 's WeScheme trick and run the alternate parser (with reserved words) for a few months in the background and log any cases where a program would...
> What makes this error fatal enough that we should halt compilation? The terrible user experience convinces me! On Mon, Apr 26, 2021 at 8:58 AM, Ben Lerner < ***@***.***...
Ah, I forgot, this _also_ includes `--perilous`, which optionally strips all annotations and several different runtime checks.
That is absolutely the plan. The stuff I've been prototyping targets `npm` first; it may well be that `npm install -g pyret` ends up being the preferred way to do...