CS712/CS812
Project Phase 4
Fall 2016
Due Sunday December 11


Add features to your UNH Go compiler:

  1. (70 points) This will be a re-evaluation of the first two bullet items from the Phase 1 assignment, the second and third bullet items from Phase 2, and the second and third bullet items from Phase 3.

  2. (10 points) Method declarations, method calls and method expressions. You may assume that the receiver will be of the form *T, where T is a type name. You do not need to implement method values.

  3. (10 points) Interface declarations, interface assignments and method calls via interfaces. You do not need to support the embedding of one interface in another.

  4. (10 points) Type assertions.

There are some initial test files available on agate in ~cs712/public/tests/phase4.

To get full credit, your code must be adequately documented and structured. If I can't easily read and understand your code, you may lose points.

You must give me back the system in the same form that I gave it to you. I must be able to install it and run it in the exact same way as when it was delivered to you. I would also like you to keep the source code organized in the same directory hierarchy. If you fail to do this, a significant deduction will be made to your grade.

Note that there is a script, distribute.sh, in ugo/bin, which will generate a tar file for you. This tar file is what I require you to submit to me for grading.

To turn in this assignment, type (on agate.cs.unh.edu):
~cs712/bin/submit phase4 ugo.tar

Submissions can be checked by typing (on agate.cs.unh.edu):
~cs712/bin/scheck phase4

The assignment is due on Sunday December 11. There is a grace period to 8am on Monday December 12 when no late penalty will be assigned. Submissions between 8am December 12 and 8am December 13 will have a late penalty of 10 points. Submissions between 8am December 13 and 8am December 14 will have a late penalty of 30 points. No submissions will be accepted after 8am on Wednesday December 14.

Remember: you are expected to do your own work on this assignment.


Last modified on November 21, 2016.

Comments and questions should be directed to pjh@cs.unh.edu