Interpreter for a minimal LISP-like language (in 1k lines of C)
To build and test the interpreter, just type:
make ./lisp <test.lisp The interpreter consists of four C files:
gc.c: a simple copying garbage collectormem.c: primitives for the dynamic type system + runtime stackcore.c: a library of stack machine functionslisp.c: the LISP interpreter itself, implemented using the stack machine
In the interest of keeping things simple, only the most basic functionality is implemented.