Compiling Exceptions Correctly (Extended Version)
Graham Hutton, Joel Wright · 2004
Exceptions are an important feature of modern programming languages, but their compilation has traditionally been viewed as an advanced topic. In this article we show that the basic method of compiling exceptions using stack unwinding can be explained and verified both simply and precisely, using elementary functional programming techniques. In particular, we develop a compiler for a small language with exceptions, together with a proof of its correctness.
Cited by 0 works.
Authors
References
- The C++ Programming Language
- The Java Language Specification
- The Definition of Standard ML (Revised)
- The C++ Programming Language, 4th Edition
- QuickCheck
- Denotational Semantics: A Methodology for Language Development
- Haskell 98 language and libraries : the revised report
- The essence of functional programming
- Denotational Semantics
- State in Haskell