2 ms·
I toy with the idea occasionally of writing a Lispish language (probably a whitespace lisp) that transforms itself down to a Forth/PostScript style engine for e
by arethuza 8y ago
I toy with the idea occasionally of writing a Lispish language (probably a whitespace lisp) that transforms itself down to a Forth/PostScript style engine for execution - one of many things on my ToDo list ;-)
- kazinator 8y agoStack-based byte code machines for Lisps are not uncommon. Emacs Lisp has one, CLISP too, I think. It keeps the instructions small, since operand references are implicit.
- arethuza 8y agoI was more thinking about a runtime conversion from a Lisp style AST to RPN primitives rather than a more traditional compiling stuff down to a separate VM - but clearly not something I've thought through in that much detail!