Markus Hof, Hanspeter Mössenböck, Peter Pirkelbauer,
"Zero-Overhead Exception Handling Using Metaprogramming"
: SOFSEM'97, Milovy, Czech Republic, Serie Lecture Notes in Computer Science (LNCS), Nummer 1338, Springer, Seite(n) 423?431, 3-1997, M.Hof, H.Mössenböck, P.Pirkelbauer: Zero-Overhead Exception Handling UsingMetaprogramming Accepted for SOFSEM'97, Milovy, Czech Republic, Nov. 1997, Lecture Notes in Computer Science 1338, Springer-Verlag, 1997
Original Titel:
Zero-Overhead Exception Handling Using Metaprogramming
Sprache des Titels:
Englisch
Original Buchtitel:
SOFSEM'97, Milovy, Czech Republic
Original Kurzfassung:
We present a novel approach to exception handling which is based on metaprogramming. Our mechanism does not require language support, imposes no run time overhead to error-free programs, and is easy to implement. Exception handlers are implemented as ordinary procedures. When an exception occurs, the
corresponding handler is searched dynamically using the type of the exception as a search criterion. Our implementation was done in the Oberon System but it could be ported to most other systems that support metaprogramming.