This project for the subject "Languages and Automata 1" consists of a lexer designed to analyze Rust code. It identifies elements of the code such as variables, operators, and comments to help understand its structure.
The project has room for improvement, and any contributions are greatly appreciated
Install the necessary packages:
pip install ply
Import the necessary module:
import ply.lex as lex
Free to use.