Tubes 1 of Teori Bahasa Formal dan Otomata (IF2124). A simple javascript parser made with python. This program is used to check the syntax of a javascript program with CYK algorithm using CFG and CNF.
Name | NIM | Class |
---|---|---|
Hidayatullah wildan ghaly B. | 13521015 | K03 |
Bernardus Willson | 13521021 | K03 |
Raditya Naufal Abiyu | 13521022 | K03 |
This Programs let you check your javascript syntax before you compile it.
- Make sure you have python installed in your computer
git clone https://github.com/Raditss/TubesTBFO.git
- Create file that you want to check and put it into
test
folder cd src
- Run main.py with the argument
python main.py ../test/<filename.js>
- Wait for the result to be shown
- Make sure you have python3 installed in your computer
git clone https://github.com/Raditss/TubesTBFO.git
- Create file that you want to check and put it into
test
folder cd src
- Run main.py with the argument
python3 main.py ../test/<filename.js>
- Wait for the result to be shown