Chapter 6: Bottom-Up Parsing


Getting Started

Abstract: In Lab 5, you implemented the Add Haque language using recursive-descent parsing. In this lab, you implement the same language using bottom-up parsing.


Here is a summary of the files for this project:
addhaque.cup The CUP grammar specification file.
TestFiles The directory of test files for this project Contains the main for your bottom-up parser. There is a corresponding ant target bup that executes the bottom-up parser on each test file in the TestFiles directory.