Homework 2
Goal
Implement the parsing program on pp. 83-84.
Due October 23 before class.
Help material
You will need to refer to the following:
- Chapter 3 of the book.
- The Appendix.
- The CUP documentation
- You might also need some book on Java.
- Help files in the directory parser. These
are slightly different from the ones Appel provides. They also include the bytecodes for my lexical analyzer in the file Yylex.class. Use it if you need to.
Deliverables
Due date is October 23 before class. Turn in your file
Grm.cup
and any documentation or test
files you want by running the following command from your working
directory:
> /cs/classes/cis461/submit Grm.cup ...
If you change your mind, you can delete submitted files by running:
> /cs/classes/cis461/usubmit file1 file2 ...
The "submit" and "usubmit" commands do not accept directory arguments.
Page visited
times since September 14, 1998.
sabry@cs.uoregon.edu