Tugas Besar IF2124 Teori Bahasa Formal dan Automata
JavaScript linters are tools that you can use to help you debug your code. They scan your scripts for common issues and errors, and give you back a report with line numbers that you can use to fix things. In addition to actual bugs and errors, they also check for subjective, stylistic preferences as well. Did you include a space between the function name and parentheses? Did you use single or double quotes around strings? Things like that.
In terminal (recommended powershell
), run:
python ./main.py "javascript-file-directory/javascript-file.js"
Make sure the "javascript-file-directory" path is correct.
- Python Programming
- Cocke–Younger–Kasami (CYK) Algorithm
- Context Free Grammar (CFG) to Chomsky Normal Form (CNF) Conversion
- Context Free Grammar (CFG)
- Finite Automata (FA)
.
│ main.py
│ lexer.py
│ FA.py
│ CFG.py
│ CYK.py
│ grammar.txt
│ README.md
│ .gitignore
│
├───test
│
└───screenshot
- 13521046 周伟林 Jeffrey Chow
- 13521054 陈维康 Wilson Tansil
- 13521102 李健康 Jimly Firdaus