Zur Hauptnavigation wechseln Zur Suche wechseln Zum Hauptinhalt wechseln

Zero-Overhead Exception Handling Using Metaprogramming

Publikation: Beitrag in Buch/Bericht/KonferenzbandKonferenzbeitragBegutachtung

Abstract

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.
OriginalspracheEnglisch
TitelSOFSEM'97, Milovy, Czech Republic
UntertitelTheory and Practice of Informatics - 24th Seminar on Current Trends in Theory and Practice of Informatics, Proceedings
Herausgeber*innenKeith G. Jeffery, Frantisek Plasil
VerlagSpringer
Seiten423–431
Seitenumfang10
ISBN (Print)3540637745, 9783540637745
DOIs
PublikationsstatusVeröffentlicht - März 1997

Publikationsreihe

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Band1338
ISSN (Print)0302-9743
ISSN (elektronisch)1611-3349

Wissenschaftszweige

  • 102 Informatik
  • 102009 Computersimulation
  • 102011 Formale Sprachen
  • 102013 Human-Computer Interaction
  • 102029 Praktische Informatik
  • 102022 Softwareentwicklung
  • 102024 Usability Research

Dieses zitieren