A toy Scheme interpreter written in Python. With guidance from Peter Norvig's lispy tutorial and Mary Rose Cook's Little Lisp Interpreter.
- download, clone, or fork
- navigate to directory
- run
python scheme.py
orrlwrap python scheme.py
if you have rlwrap installed for readline support.
It evaluates:
if
statementslet
andlambda
expressions- some simple math
it can also define
a variable and evaluate its expression if it has any.
set!
, begin
- Implement the stuff in the what it doesn't do section
- Definitely refactor
- Write better tests
Made with lots of tears and at Hacker School.