Skip to content
Archive of posts filed under the Lua category.

Apple relaxes restriction on interpreted code

Apple’s iOS SDK license agreement terms have always been source of disputes, discussions and many blog posts. Many accuse Apple of being too draconian and elitist, while being ineffective at barring bad applications from entering the store. The uproar just got fueled when Apple released the 4.0 version of the SDK with a new license [...]

Lua Programming Gems out!

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.

Bibliography of Programming Languages Implementation

Doing some research about compilers, interpreters and virtual machines, I have gathered some bibliography from several resources. Here it is, in no particular order: Essentials of Programming Languages, by Daniel P. Friedman, Mitchell Wand and Christopher T. Haynes Programming Language Pragmatics, by Michael L. Scott Smalltalk-80: The Language and Its Implementation, by Adele Goldberg and [...]

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 [...]