CS712/CS812
Project Phase 1
Spring 2004
Due Sunday February 8


This phase concerns the design of a simple object-oriented language.

Your design should support the following functionality:

You can require that programs be completely specified in a single file.

If you are working in a pair then you should add a floating-point type to the language. This should include:

The key criteria for grading is the completeness of your design. You should specify both the syntax and the semantics. The syntax should be specified using the appropriate formal notation. The semantics can be specified informally, using English. Be sure to consider error situations when you are describing the semantics. (For example, what should the compiler do if the user assigns a reference to an integer?)

However, your language should "make sense". That is, it should be possible to write reasonable programs with it. You should include example programs as an appendix in your design document:

The deliverable for this phase is a well-organized and well-written document. The quality of the organization and writing will be worth 20% of the grade. The rest of the grade is based upon the completeness of your design.

Your document should be turned in electronically. I will accept any reasonable format, including PDF, Postscript and Microsoft Word.

You should submit the document file from turing.unh.edu using my "submit" script. To turn in this assignment, type:
~cs712/bin/submit phase1 filename

Submissions can be checked by typing (also on turing.unh.edu):
~cs712/bin/scheck phase1

To receive full credit for the assignment, you must turn in your files prior to 8am on Monday February 9. Late submissions will be accepted at a penalty of 2 points for one day late, 5 points for two days late, 10 points for three days late, 20 points for four days late, and 40 points for five days late. No program may be turned in more than 5 days late.

Remember: you (with possibly an approved partner) are expected to do your own work on this assignment!


Last modified on January 22, 2004.

Comments and questions should be directed to hatcher@unh.edu