6 ms·
I wrote a tutorial some time back — http://lisperator.net/pltut/ http://lisperator.net/pltut/ — also targeted at JS. It walks you through parsing, evaluating,
by mishoo 12y ago
I wrote a tutorial some time back — http://lisperator.net/pltut/ http://lisperator.net/pltut/ — also targeted at JS. It walks you through parsing, evaluating, continuations and CPS compiling.
- Theyeard 12y agoParsing, evaluating, continuations and CPS... it seems similar to this language: https://curiosity-driven.org/continuations#interpreter https://curiosity-driven.org/continuations#interpreter but the syntax is clearly different. Also, that interpreter is implemented in ~320 lines of JS.