Re: Sketch of exceptions

2002-06-02 Thread Jens Rieks
I've written a small exception demo in C and tried to avoid macros as far as possible. > C code *may*, if it chooses, install a generic exception override, > and we'll have a routine for this. Something like: > > EXCEPTION_OVERRIDE(&exception_frame); > EXCEPTION_RELEASE(&exception_fra

Sketch of exceptions

2002-06-01 Thread Dan Sugalski
Okay, here's a quick sketch of how exceptions are going to look. First, we're going to treat them as essentially a sort of upwards-only continuation. (Which they really are, so that's fine) Exceptions are semi-fatal--they are *not* resumable. Too much trouble. Maybe we'll lift that restriction