A modular verifiable exception handling mechanism

  • Authors:
  • Shaula Yemini;Daniel M. Berry

  • Affiliations:
  • IBM T. J. Watson Research Center, Yorktown Heights, NY;Univ. of California at Los Angeles, Los Angeles

  • Venue:
  • ACM Transactions on Programming Languages and Systems (TOPLAS) - Lecture notes in computer science Vol. 174
  • Year:
  • 1985

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a new model for exception handling, called the replacement model. The replacement model, in contrast to other exception-handling proposals, supports all the handler responses of resumption, termination, retry, and exception propagation, within both statements and expressions, in a modular, simple, and uniform fashion. The model can be embedded in any expression-oriented language and can also be adapted to languages which are not expression oriented with almost all the above advantages. This paper presents the syntactic extensions for embedding the replacement model into Algol 68 and its operational semantics. An axiomatic semantic definition for the model can be found in [27].