This interpreter is based on the Simply Scheme implementation of the Scheme language. User interaction is provided using a read-eval-print loop(REPL), which receives user input and returns the output on the screen.
- Get a copy of this project by using
git clone https://github.com/lucaskenji/scheme-python. - With Python already installed on your machine, run
python scheme.pyinside the cloned folder. - Optionally, activate the virtual environment and run
pytestto run the unit tests.
> (+ 1 2)
3
> (+ (* 2 5) 10)
20
> (word 'foo 'bar)
foobar
- To see a list of all available primitive procedures, check primitives.py