Vipul97 / proglang

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:Python 100.0%