At 4:13 PM -0400 7/21/98, R. A. Harmon wrote:
I'd like to implement the proposed Smalltalk ANSI standard exception protocols in Squeak. Is there an exception handling implementation for Squeak relatively complete? Enough so that the ANSI standard exception protocols could implemented using it. I used Hal Hildebrand's implementation when doing this for Smalltalk Express.
In March, Dave Farber posted a Squeak version of exception handling. He wrote:
i've coded up an exception mechanism for squeak. it is a port of Bob Hinkle and Ralph Johnson's exception mechanism for V286. one of the big points of this setup is that it is supposed to mimic the ParcPlace (and even Tek) exceptions.
is this useful to anyone from the compatibility standpoint? i don't have access to a PP environment, so i can't tell for certain that i haven't introduced some incompatibilty in the translation.
(Dave: yes, it's very useful ;) Is there a more recent version?)
I don't know much about the ANSI version, but I find it hard to imagine that it *wouldn't* have been somewhat influenced by the ParcPlace varient ;)
Should be in the archive. If not, drop me a (private) note and I'll send a copy.
Cheers, Bijan Parsia.
I don't know much about the ANSI version, but I find it hard to imagine that it *wouldn't* have been somewhat influenced by the ParcPlace varient ;)
Except(!) the ANSI standard wisely did not adopt...
[block] valueNowOrOnUnwindDo: [block]
Instead it uses (IIRC)...
[block] ensure: [block]
squeak-dev@lists.squeakfoundation.org