A tiny Lisp interpreter written in Haskell.
git clone https://github.com/wildlyinaccurate/lishp.git
cd lishp
cabal install
make
Lishp can be run as a REPL
$ ./bin/lishp
lishp=> (/ 8 (+ 1 1))
4
Or it can take programs directly
$ ./bin/lishp '(/ 8 (+ 1 1))'
4
Tests are currently written with roundup(1). Run the suite with make test
.
Because after playing around with Haskell for some time, I wanted to write a "real" program. I'm a big fan of Lisps, and was inspired by projects like Make a Lisp, Write Yourself a Scheme in 48 Hours, and wisp.