From: | mac <acolvin@efunct.com> |
Newsgroups: | comp.compilers |
Date: | Fri, 28 Mar 2014 23:08:10 +0000 (UTC) |
Organization: | A noiseless patient Spider |
References: | 14-03-065 14-03-068 14-03-070 |
Keywords: | errors, PL/I, history |
Posted-Date: | 28 Mar 2014 20:25:22 EDT |
> PL/I had ON and SIGNAL statements. SIGNAL would signal an exception.
> ON would catch it. REVERT to cancel the effect of ON. Web search
> indicates it was defined in 1964 but implemented later. May be the
> PL/I designered borrowed it from an earlier
Not quite the same. ON defined a handler invoked at the signal site. It
could attempt repair and return. more like an interrupt. However, the
typical handler did a non-local GOTO to bail out, clearing any calls
between the signal and the gone-to label.
I still think that the ability to resume can be useful.
The classic survey is Goodenough 1975
<http://www.cs.colorado.edu/~bec/courses/csci5535-s09/reading/goodenough-exceptions.pdf>
Return to the
comp.compilers page.
Search the
comp.compilers archives again.