Developed a C-based lexical analyzer implementing Backus-Naur notation to identify lexemes and tokens in source files. The output associates each lexeme with a token group, displaying pairs on screen.
To use this lexical analyzer, follow these steps:
- Ensure you have the necessary modules loaded. If using g++, run the following command:
module load gnu
- Compile the lexical analyzer using the provided makefile:
make
(School Project)