Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Latest commit

 

History

History
27 lines (18 loc) · 648 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 648 Bytes

Python Symbol Table Generator

tokenize a program and generate a symbol table for it using sly.

Requirements

How to use

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

Credits

  • Danial Keimasi