Re: handling exceptions

"Christian Stapfer" <>
28 Oct 1999 02:07:04 -0400

          From comp.compilers

Related articles
handling exceptions (Maikel Pennings) (1999-10-27)
Re: handling exceptions (1999-10-28)
Re: handling exceptions (Christian Stapfer) (1999-10-28)
Re: handling exceptions (1999-10-29)
Re: handling exceptions (Gautier) (1999-10-29)
Re: handling exceptions (Laurent Guerby) (1999-10-29)
Re: handling exceptions (Ehud Lamm) (1999-10-31)
| List of all articles for this month |

From: "Christian Stapfer" <>
Newsgroups: comp.compilers
Date: 28 Oct 1999 02:07:04 -0400
Organization: Swisscom AG, the blue window
References: 99-10-127
Keywords: errors

Maikel Pennings <> wrote in:
> I have to add exception handling to a compiler for a
> project, and I'm wondering how this is done in real compilers

I don't know about Ada, but Norman Ramsey and Simon Peyton Jones are
preparing a paper for publication that treats exception handling on a
level that might be just right for you. It's titled "A Single
Intermediate Language That Supports Multiple Implementations of
Exceptions", and gives example code that is supposed to implement
exceptions in the style of Modula-3, Eiffel, and ML. Their main
problem is to do it in a single intermediate language (an UNCOL, of
sorts) but, as a side effect, they have to discuss how it can be
done. They do it in a C-like language - I suppose that would not be
too bad for an Ada programmer, would it? You can get an abstract of
their paper from, and
download the draft from that page. - Christian

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.