Calculating correct compilers
- ,
- Graham Hutton
- Københavns Universitet
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Peer-reviewOpen Access
Resume
In this article, we present a new approach to the problem of calculating compilers. In particular, we develop a simple but general technique that allows us to derive correct compilers from high-level semantics by systematic calculation, with all details of the implementation of the compilers falling naturally out of the calculation process. Our approach is based upon the use of standard equational reasoning techniques, and has been applied to calculate compilers for a wide range of language features and their combination, including arithmetic expressions, exceptions, state, various forms of lambda calculi, bounded and unbounded loops, non-determinism and interrupts. All the calculations in the article have been formalised using the Coq proof assistant, which serves as a convenient interactive tool for developing and verifying the calculations.
Publikation information
Produktionstype
Publikation:
Artikel i tidsskrift og konference artikel i tidsskrift
Tidsskriftartikel
Peer-reviewOriginalsprog
EngelskTidsskrift (Bind, Nummer)
Journal of Functional Programming (Bind 25)Publikationsmilepæle
- Udgivet - 01/09/2015
Publikationsstatus
Udgivet - 01/09/2015
ISSN
1469-7653Publication IDs
- Scopus: 84994242294
Metrikker
PlumX, åbner i en ny fane
Antal citationer
21
Hentninger
32
