News for hackers. Stuff that matters.
Re:Programming and Programming Languages by Pyret on Monday December 15, 2014 @10:48AM (#8752528)
I'd like to learn from this book.

> 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?

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

Re:Programming and Programming Languages by Pyret on Monday December 15, 2014 @01:32PM (#8753481)
I see. I was typing my code on the left half of the window and expecting the result show up on the right half. It works now. Thank you.