Unformatted text preview: Grm.cup . Java files outside the Parse package can be compiled manually as in the previous project. For running your parser on an input file test.tig , execute java Parse.Main test.tig in your working directory. The result is a printed representation of the abstract syntax tree. Submission For this project, you only need to modify file Parse/Grm.cup . To save space in the submit directory, please, don’t submit any class files. E.g., cd prog2; make clean; ˜cs4351_bau/bin/p_copy 2 In the README file, provide any information that will help the grader to give you partial credit. I.e., state what works, what doesn’t work, and what implementation decisions you made. In particular, explain how you resolve parsing conflicts and how much error recovery you implemented. Your grammar should not have any reduce/reduce conflicts and as few shift/reduce conflicts as possible. For any shift/reduce conflicts you did not resolve, explain why the conflict is not harmful. 1...
View Full Document
- Fall '08
- Semantics, Formal grammar, cup, Context-free grammar, abstract syntax tree