Category Archives: Lisp

Stuff related to the development of my own Lisp interpreter, which will eventually be embedded on the iPhone.

On the development of my own Lisp interpreter, part 3: revisiting closures.

I managed to solve my lisp closure problem outlined in this post by adopting the ideas behind this paper: Closure generation based on viewing LAMBDA as EPSILON plus COMPILE. The basic idea of the paper is that you can rewrite … Continue reading

Posted in Lisp | Leave a comment

On the development of my own Lisp interpreter, part 2: lambdas, fexprs and closures.

My thinking has been to make the keyword ‘lambda’ (and ‘nlambda’) represent entry-points to a byte-code compiler: the idea is that if we see an expression like: (lambda (x y) (+ x y)) This function invokes the compiler and returns … Continue reading

Posted in Lisp | Leave a comment

Part 1: On the development of my own Lisp interpreter

Back when I was in high school (back in the early 1980’s) I learned Lisp. One of the things I really liked about the language was it’s expressiveness: because the language was such as simple one, it was fairly easy … Continue reading

Posted in Lisp | Leave a comment