A simple tree-walk programming language interpreter. The language includes variable scopes, data types, built-in functions, string / numerical / boolean expressions and control flow.
This program is written in Python 3.7. Please use pip package manager to install the necessary dependencies (it is recommended to install them in a virtual environment like venv).
Installation using pip:
cd [project_directory]
pip install -r requirements.txt
A context-free grammar for this language is included in grammar.txt.
Examples of usage can be found in the examples directory.
To run a program please execute the following command.
python interpreter.py [program_filename].txt