Assignment 5 (Type Checking)
Due Date: March 7, 1997
To submit your assignment, run:
/cs/classes/cis461/wi97/submit
files
This will copy all of the files you specify to a directory
where I can get them.
You can "unsubmit" any of the files:
/cs/classes/cis461/wi97/usubmit
files
You can keep doing this as many times as you want as long as your
final work has been submitted by the deadline.
Exercises
Read Chapter 5 of Appel's book and the Appendix on the Tiger
language. Do the program on page 112 (both part (a) and (b)). Here are
the supporting files as usual.
The code I am providing runs on the small examples in the files t1.tig
and t2.tig. It includes several places marked (* todo *) for you to
update. I have also included my parser; use it only if yours does not
work.
Page visited
times since November 18, 1996.
sabry@cs.uoregon.edu