tokenize a program and generate a symbol table for it using sly.
You can just put your rules in to the compiler.py file and use it for yourself.
this is how you can compile your code using compiler.py
git clone https://github.com/danialkeimasi/python-compiler-symbol-table tokenizer
cd tokenizer
pip install -r requirements.txt
python compiler.py random_program/main.cpp
- Danial Keimasi