/proglang

A lexical and syntax analyzer for a custom programming language grammar in Python.

Primary LanguagePythonMIT LicenseMIT

ProgLang

A lexical and syntax analyzer for a custom programming language grammar in Python 3.10.

Grammar

The BNF grammar can be found in grammar.txt.

Input Source Code

The input source code can be edited in lexer/code.txt.

Instructions

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.