3 ms·
Here's direct links to the source (which is worth looking at). The parser : https://github.com/DmitrySoshnikov/scheme-on-coffee/blob/master/parse.coffee https:
by jashkenas 15y ago
Here's direct links to the source (which is worth looking at).
The parser : https://github.com/DmitrySoshnikov/scheme-on-coffee/blob/master/parse.coffee https://github.com/DmitrySoshnikov/scheme-on-coffee/blob/mas...
The evaluator: https://github.com/DmitrySoshnikov/scheme-on-coffee/blob/master/eval.coffee https://github.com/DmitrySoshnikov/scheme-on-coffee/blob/mas...
The definitions of all the caddr, cdadr variants is kind of fun, and the definition of "lookupVariableValue" is enlightening, if you were curious about how that sort of thing worked in Scheme.
- spacemanaki 15y ago> if you were curious about how that sort of thing worked in Scheme. If that's the case you should really read SICP, since there's a lot more enlightenment where that came from, so to speak.