tkazec / pl101

Files for Nathan's University PL101.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Files for Nathan's University PL101 class, finished 2012-06-28. The final source code is preserved here, dedicated to the public domain under the CC0 1.0 license. – Teddy Cross


mus/
A simple MUS -> NOTE compiler for lesson 2. Loaded as a Node module; also contains an extremely simple test and a "rest" tag.

scheem/
A simple Lisp based on Scheme, for lessons 3-5. To correct inconsistencies and other silly stuff, I deviated slightly from the "official" Scheem syntax and behavior defined in the lessons. Comes with a grammar, grammar bootstrap (aka parser), interpreter, and plentiful tests. Runs on Node and requires PEG.js for the parser and Mocha for the tests. Overall I'm extremely happy with the result, especially the interpreter :)

tortoise/
Turtle graphics, in a custom C-style language, for lesson 6. Deviates slightly from the provided syntax, and writes to a file instead of using a web interface. Comes with a grammar, interpreter, rasterizer, and some tests. Requires PEG.js, Mocha, and node-canvas. Not as refined as Scheem, but it turned out okay.

About

Files for Nathan's University PL101.

License:Creative Commons Zero v1.0 Universal


Languages

Language:JavaScript 100.0%