A simple grammar implemented using Java, JFlex and YACC. This is the final project of Compiler Design course at Computer Engineering and IT Department.
Steps:
- Run JFlex tool (available in Tools) and give the
ALang.jflex
file as its input. - Run Bison tool using the following command and generate the parser (
-v
is for debugging issues):bison.exe -L JAVA ../src/Ph2/ALang.yacc -v
- Happy Parsing using the
parse()
metod!