This repository contains a simple parser for the MiniLang programming language. MiniLang supports basic programming constructs such as arithmetic expressions, variable assignments, if-else conditions, and print statements.
To use the MiniLang parser, follow these steps:
git clone https://github.com/your-username/minilang-parser.git cd minilang-parser
python minilang_parser.py <file_path> Replace <file_path> with the path to your MiniLang source code file.
MiniLang supports the following constructs:
Arithmetic expressions Variable assignments If-else conditions Print statements
The MiniLang parser is implemented as a recursive descent parser, chosen for its simplicity and suitability for LL(k) grammars.