SE580: Homework 3

Deadline: 5.30pm, Thursday October 2 2003.

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 dynamic semantics of Hobbes is not complete. It is missing most of the cases for Block in hobbes/step/Step.java. You should edit hobbes/step/Step.java to finish the interpreter.

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 a working edited version of Step.java, create a zip archive containing that file, plus any other files you edited, and submit it using the Courses OnLine system.