conrad.steenberg
2019-8-1 22:18:12

Pyret -> Racket/scheme? I’ve read mentions of Pyret related to the racket2 discussion, but I haven’t been able to find the connection. Pyret is self-hosted with a Javascript target afaics.


conrad.steenberg
2019-8-1 22:19:04

Anyone able to offer some enlightenment? :slightly_smiling_face:


soegaard2
2019-8-1 22:19:23

The first version of Pyret was written as a Racket language.


conrad.steenberg
2019-8-1 22:19:36

ah!


soegaard2
2019-8-1 22:19:54

Also Shririam was part of PLT Scheme from the beginning.


conrad.steenberg
2019-8-1 22:20:03

It’s a great language, imho


sorawee
2019-8-1 22:58:23

As I understand, the first version of Pyret was written as a Racket language, and then gets compiled to JS via Whalesong (https://www.hashcollision.org/whalesong/), but the performance was really bad. That’s why we stopped using Racket as a base. Shriram has always wanted to switch back to Racket tho.


alexknauth
2019-8-2 00:20:15

Pyret is one example of a language designed by people who love Racket but who wanted a language more accessible to beginners and students coming from algebra. Since that goal is one Matthew Flatt talked about for Racket2, it makes sense that we should learn from how Pyret handled those design decisions toward the same goal