Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 397 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 397 Bytes

lisp-in-python

Lisp interpreter written in Python (2.7)

With inspiration from Peter Norvig

Run REPL:

$ ./repl
lisp-in-python
> (define x 4)
nil
> (define sq (lambda (x) (* x x)))
nil
> (sq 3)
9
> x
4

To run tests:

$ ./test
....................
----------------------------------------------------------------------
Ran 20 tests in 0.002s

OK