Implementation of CYK and LR(1) parser in C. By:
- Ahmad Faiz S.
- Faza Fahleraz
- M. Sulthan Adhipradhana
This program parses and validate the syntax of a Pascal Language source code. If there is a syntax error, this program will also retrieve and show the cause of that error.
- Navigate to the 'bulid' directory.
- Using command line, run:
$ make
- Navigate to the 'bulid' directory.
- Using command line, run:
$ ./parser <source_code_file_name>
- The 'cnf' folder inside 'build' contains all of the information about the grammar. Do not edit this.