Assignment 6 (Exceptions)
Due Date: May 15, 2000 before class
Design and implement an exception system.
There are at least two approaches you can try to follow:
- Try to implement a structure that contains the exception primitives
(much like we did with threads in the previous homework).
- Extend one of the interpreters we wrote with exceptions.
In both cases, the implementation of your system of exceptions can be
done using:
- ML exceptions, or
- callcc, or
- continuation-passing style.
But of course, before you even start you have to decide what are
the primitives you want to implement. Look at existing exception
systems to get some ideas.
Page visited
times since November 18, 1996.
sabry@cs.uoregon.edu