Welcome to the Python Lexer and Parser repository! This project is dedicated to creating a lexer and parser for a mini-language using Python, without relying on external libraries like 're'.
This repository contains a custom lexer and parser designed to interpret a simplified programming language. The project is implemented in Python 3.10, leveraging the match case feature. It's an excellent resource for learning about lexical analysis and parsing in compiler design.
main.py
to execute the lexer and parser on the provided examples.Contributions to the Python Lexer and Parser are welcome! Feel free to fork the repository, make changes, and submit pull requests. If you have ideas for new features or improvements, don't hesitate to open an issue.
This project is licensed under the MIT License - see the LICENSE file for details.