SE580: Homework 5

Deadline: 5.30pm, Thurssday 23 October 2003.

Note: this is in two weeks!

Homework

Download and unpack the interpreter archive for this course, and make sure you can compile and run the interpreter.

When you run the interpreter, you will get messages saying "Tests failed". Your homework is to get rid of these messages!

This week, the problem is that the static and dynamic semantics of Hobbes are not complete. It is missing some code typechecking and executing method calls, in Step.java and TypeCheck.java. You should edit these files to pass the test suite.

You should add comments to the code, indicating which edits you made, for example:

  // Edited by Wilma Flintstone:
  print ("hello");
  // End of edits.

Once you have working edited versions of TypeCheck.java and Step.java, create a zip archive containing those files, plus any other files you edited, and submit it using the Courses OnLine system.