4 ms·
In particular, this kind of mini embedded language interpreters can be great to build upon. For the folks who think LISP is dead and irrelevant (spoiler, it is
by ktpsns 5y ago
In particular, this kind of mini embedded language interpreters can be great to build upon. For the folks who think LISP is dead and irrelevant (spoiler, it is not), think of https://www.lua.org/ https://www.lua.org/ as a prominent embedded language. Lua is based on a stack based programming idiom/VM. In a similar spirit, LISP is somewhat the lingua franca for intermediate code representation and therefore omnipresent in compiler contexts.
You can even write LISP interpreters in less lines of code. Norvig required 90 lines of Python: http://norvig.com/lispy2.html http://norvig.com/lispy2.html :-)