A piece of intertube about the Clojure programming language, algorithms and artificial intelligence.

Wednesday, May 2, 2012

Implementing a Lisp

To extend my knowledge and to have a better understanding of the Lisp's foundations, I implemented a simple Lisp in C. It supports symbols, integers, a few primitives, anonymous functions, closures, macros and garbage collection. The implementation follows the KISS principles and is around 1400 lines of code.

Discussion: http://news.ycombinator.com/item?id=3919685
Code: https://github.com/kototama/kml