Programming and Programming Languages (2018) (papl.cs.brown.edu) 155 points by AlexeyBrin 7y ago ↗ HN
[–] AlexeyBrin 7y ago ↗ Although mostly used in the browser, at https://code.pyret.org/, Pyret (the language used in the book) can run locally on Node.js like this: npm install -g pyret-npm pyret --help Assume you have a file named ahoy.arr on your machine: check: print("Ahoy from Pyret\n") "Ahoy " + "World!" is "Ahoy World!" end Compile and run with: pyret ahoy.arr Run the compiled program: node ahoy.jarr
[–] stormbreaker 7y ago ↗ Any way to download it as a PDF/epub? Something that isn't tiny text in a browser window. :)
5 comments
[ 3.7 ms ] story [ 21.9 ms ] thread