Re:Programming and Programming Languages
by shriramkmurthi on Monday December 15, 2014 @01:17PM
(#8753378)
Sorry about the confusion. Looks like you've already found https://code.pyret.org/editor (but the link is here for the information of others). You can run programs by typing them in the interactions area (a.k.a. REPL), which is the area on the right. To wit:
> 3 3 > 1 + 2 3
> If you ask Pyret for the value of this program, it will unsurprisingly tell you that it’s 3.
I am not sure how to do that. In [this tutorial](http://www.pyret.org/docs/latest/A_Tour_of_Pyret.html#%28par...) everything is a test. Is the program 3 supposed to be run as a test as well? Just running 3 in the editor does nothing. Where can I read up on Pyret syntax so i can follow this book?