Programming Assignments

Please post all questions regarding the projects to the Newsgroup.


Extra Credit Programming Assignment: The Optimizer or The Test Program

Due Friday, May 12, 2006 at 11:59 PM

Project Handout

PDF PS


Programming Assignment 6: Exceptions

Due Tuesday, May 2, 2006 at 11:59 PM

Project Handout

PDF PS

Coolaid

Coolaid can also check the long jump implementation of exceptions as described in the project handout. For this, the -cool_exc option should be on. This on by default (on the instructional machines). See below in PA5 for additional notes about Coolaid.

Grading (out of 50)

The point breakdown for PA5 is as follows:

Programming Assignment 5: The Code Generator

Due Tuesday, April 18, 2006 at 11:59 PM, (Checkpoint Due Tuesday, April 4, 2006 at 11:59 PM)

Project Handout

PDF PS

References

Notes

Clarifications


Programming Assignment 4: The Semantic Analyzer

Due Friday, March 17, 2006 at 11:59 PM, (Checkpoint Due Tuesday, March 7, 2006 at 11:59 PM)

Project Handout

PDF PS

Grading (out of 100)

The checkpoint for PA4 is graded pass/no pass and counts as a WA. The point breakdown for the final submission of PA4 is as follows:

Programming Assignment 3: The Parser

Due Friday, February 17, 2006 at 11:59 PM

Project Handout

PDF PS

References

Submission

You need to modify/create and make sure to submit the following files:

Grading (out of 50)

The point breakdown for PA3 is as follows:

Programming Assignment 2: The Lexer

Due Friday, February 3, 2006 at 11:59 PM

Project Handout

PDF PS

References

Clarifications

Notes

There is a sample implementation of the lexer called reference-lexer in ~cs164/bin.

Grading (out of 50)

The point breakdown for PA2 is as follows:

Programming Assignment 1:  A Cool Stack Machine

Due Friday, January 27, 2006 at 11:59 PM

Project Handout

PDF PS

References

Notes

There are some example Cool programs in ~cs164/examples.

Grading (out of 50)

The point breakdown for PA1 is as follows: