Journal of Functional Programming · 2015 · 19 citations · 18 references
ComputingComputer ScienceCompilersFormal MethodsTheory Of ComputationCompiler ConstructionControl-flow AnalysisDeductive VerificationInteractive Proof SystemsProof AssistantsType SystemsCoqEquational LogicEquational ReasoningProgram DerivationVerified Compilation
Abstract 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.
18
Philip Wadler · 1989 · 776 citations
Definitional interpreters for higher-order programming languages
John Reynolds · 1972 · 668 citations
Jr. Guy L. Steele · DSpace@MIT (Massachusetts Institute of Technology) · 1978 · 404 citations · Full text
David Kranz, Richard Kelsey, Jonathan Rees et al. · ACM SIGPLAN Notices · 2004 · 259 citations