Lisp compiler in 89 lines of Python
bernhardkausler.wordpress.com
bernhardkausler.wordpress.com
I think that's a running gag when implementing "lisp." I can recall seeing some "lisp in javascript" library a while back that also neglected to implement that "minor detail."
(eval. '(lambda (x) x) nil)
to the REPL with the following definitions:He made something and shared it with us. That's more than 99% of programmers can say.
It was an example designed under pretty specific constraints that preclude the suggestions he was making.
If that still takes to many lines for his challenge, leave out linked lists or arithmetic. Lambdas are more important in Lisp, and you can re-create both of them as a library in the language, if you have lambdas.
I guess I should probably come up with my own Lisp implementation now :)