- Install ANTLR4: ANTLR4 Installation1
- Install ANTLR4 runtime library for python:
pip install -r requirements.txt
- Build:
make parser
2 - Run program:
python3 main.py [source file] [output file]
Below steps are recommended to be performed in Ubuntu/WSL3:
5. Install LLVM
6. Run the llvm ir code lli [target file]
3
More detail can be viewed in Doc.