[squeak-dev] Implementing control operators

Randal L. Schwartz merlyn at stonehenge.com
Wed Apr 13 22:26:48 UTC 2011


>>>>> "Eliot" == Eliot Miranda <eliot.miranda at gmail.com> writes:

Eliot> BTW, you should focus your understanding on how contexts work
Eliot> (ContextPart & MethodContext). That's the fundamental, and above
Eliot> contexts exceptions are implemented.  Anyone have a pointer to
Eliot> Peter Deutsch's article on contexts ion the 1981 Byte issue?
Eliot> That's a good place to start.  Another place is the Blue Book's
Eliot> implementation chapter.

There's a decent explanation of prim 199 and contexts toward the back of
https://gforge.inria.fr/frs/download.php/26600/PBE2-Exceptions-2010-03-02.pdf
- of all places.  You don't need to fully understand contexts to get
Exceptions, but it's nice that the authors took the time to sort that
out.  It does explicitly gloss over MethodContext vs BlockContext, but
at least they know they're being crafty. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion



More information about the Squeak-dev mailing list