Hot from the presses, the book is finally here. The table of contents, the front matter and the free chapter 2 are in the book homepage.
Archive of posts tagged Lua
Toy Scheme interpreter in Lua
As part of my Lisp studies, I have implemented a toy Scheme interpreter in roughly 1000 lines of Lua. It is here. It supports tail-call optimisation, lexical scope for closures, and first-class continuations via call/cc. I have departed from the traditional approach of implementing a Scheme interpreter in Scheme itself because I wanted to avoid [...]