The aim is to develop a custom lexer generator like Flex that takes in a input program, which is a set of rules defining the lexical tokens and input characters from another input program defined by the user. MyLexer will then take those tokens and character pairs and generate a Lexical Analyzer for those specified rules.
This project uses CMake to generate make files which can be run with make to generate the executable
- In the project's root directory.
mkdir build
- Change current directory to the build directory.
cd build
- Run CMake.
cmake ..
- Run Make.
make
- You can then run the executable generated. The default executable should be called MyLexer. Run MyLexer -h to get usage information.
N/A (Not determined yet)