A lexical and syntax analyzer for a custom programming language grammar in Python 3.10.
The BNF grammar can be found in grammar.txt
.
The input source code can be edited in lexer/code.txt
.
To run the syntax analyzer, run main.py
.
The syntax analyzer will run successfully if the program does not display any output, and will display if any errors are found.