Lexer, Parser and semantic analyzer for COOL programming language
You can check main Lexer's code (code that I've written) in cool.flex file. All the other files are support files needed for Lexer to run properly, and files used for testing. To start and test Lexer run these commands:
- make lexer
- make lexer_test
- ./lexer_test
This will check all of lexer's abilities and give you back test results and a grade.
You can check main Parser's code (code that I've written) in cool.y file. All the other files are support files needed for Parser to run properly, and files used for testing. To start and test Parser run these commands:
- make parser
- make parser_test
- ./parser_test
This will check all of parser's abilities and give you back test results and a grade.