Author:
HUTTON GRAHAM,WRIGHT JOEL
Abstract
AbstractAsynchronous exceptions, orinterrupts, are important for writing robust, modular programs, but are traditionally viewed as being difficult from a semantic perspective. In this article, we present a simple, formally justified, semantics for interrupts. Our approach is to show how a high-level semantics for interrupts can be justified with respect to a low-level implementation, by means of a compiler and its correctness theorem. In this manner we obtain two different perspectives on the problem, formally shown to be equivalent, which gives greater confidence in the correctness of our semantics.
Publisher
Cambridge University Press (CUP)
Reference54 articles.
1. A practical method for specification and analysis of exception handling-a Java/JVM case study
2. Drew S. , Gouph K. J. & Ledermann J. (1995) Implementing Zero Overhead Exception Handling. Tech. Rept. 95-12. Faculty of Information Technology, Queensland University of Technology.
3. Jacobs B. (2001) A formalisation of Java's exception mechanism. In: ESOP 2001: Proceedings of the 10th European Symposium on Programming Languages and Systems. Springer-Verlag, pp. 284–301.
4. Gordon A. (1995) Bisimilarity as a Theory of Functional Programming. BRICS Notes Series NS-95-3. Aarhus University.
5. Sebesta R. W. (2006) Concepts of Programming Languages, 7th ed. Pearson Addison Wesley.
Cited by
12 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Programming language semantics: It’s easy as 1,2,3;Journal of Functional Programming;2023
2. Monadic compiler calculation (functional pearl);Proceedings of the ACM on Programming Languages;2022-08-29
3. Securing Asynchronous Exceptions;2020 IEEE 33rd Computer Security Foundations Symposium (CSF);2020-06
4. Calculating correct compilers II: Return of the register machines;Journal of Functional Programming;2020
5. Flag-based big-step semantics;Journal of Logical and Algebraic Methods in Programming;2017-04