A Lisp interpreter written in Python.
To open a Lisp REPL, use this command:
python3 lisp.py --repl
This command will open up a prompt into which you can type Lisp commands:
* (+ 1 2 3)
To run the unit tests associated with this project, use the following command:
python3 tests.py
This interpreter implements the following functions out of the box:
first
,last
+
,-
,/
,*
car
,cdr
max
,min
and
,or
,not
quote
list
print
defun
if
This project is licensed under an MIT license.
- capjamesg