The project is organized into various folders:
main.py is the starting point for the compilation.
Test cases, Language Manual, Standard Library
The remaining folders correspond to each of the phases of the compilation: Lexical Analysis, Syntax and Semantic Analysis
- Clone the repository in
$ROOT
- Open a terminal in the
$ROOT
directory - Create a Python virtual environment using
$ python -m venv env
- Activate the environment using
- On Windows:
$ source env/Scripts/activate
- On Mac/Linux:
$ source env/bin/activate
- Install the requirements using
$ pip install -r requirements.txt
- Install the local packages using
$ pip install -e .