This project is a work in progress. Many features are missing. I am putting things together piece by piece
A subset of features for the R5RS Scheme implemented in python as a learning project. The only dependency is a recent python version (tested with python >= 3.7)
This is generic tree walking interpreter:
Source Code ---> Parser ---> Abstract Syntax Tree ---> Evaluater ---> Result
To run:
python3 main.py
This will launch a REPL. To interpret a file:
python3 main.py <filename>
To run tests:
python3 -m unittest discover
unittest was used because it is available by default
Public domain or MIT at your option