This preview shows page 1. Sign up to view the full content.
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, dont 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 doesnt 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
This note was uploaded on 12/31/2011 for the course CSC 4351 taught by Professor Baumgartner,g during the Fall '08 term at LSU.
- Fall '08