NIM | Nama |
---|---|
13520017 | Diky Restu Maulana |
13520047 | Hana Fathiyah |
13520053 | Yohana Golkaria Nainggolan |
This is a Python Compiler using Python programming Language. This program is the implementation of CYK algorithm, CFG, CNF, and FA that we learn in TBFO Course.
- Type
python3 main.py
- Input the file that you want to compile (.txt or .py)
- Input the grammar file. If you don't have one, you can use
cnf.txt
that is provided in this repository. - Make sure your grammar file and the file that you want to compile are in the same folder as the source code.