Proving Correctness of Compilers Using Structured Graphs
- University of Copenhagen
Research Output:
Conference Article in Proceeding or Book/Report chapter
Book chapter
Peer-reviewOpen access
Publication Information
Output type
Research Output:
Conference Article in Proceeding or Book/Report chapter
Book chapter
Peer-reviewOriginal language
Undefined/UnknownPages from-to (Number of pages)
Pages 221-237 (17 pages)Publication milestones
- Published - 01/06/2014
Publication status
Published - 01/06/2014
Volume
8475Publisher
Springer, United States, GermanyISBN (Print)
978-3-319-07150-3Publication IDs
- Scopus: 84902449585
Host publication title
Functional and Logic ProgrammingHost publication editors
- Michael Codish
- Eijiro Sumii
Abstract
We present an approach to compiler implementation using Oliveira and Cook’s structured graphs that avoids the use of explicit jumps in the generated code. The advantage of our method is that it takes the implementation of a compiler using a tree type along with its correctness proof and turns it into a compiler implementation using a graph type along with a correctness proof. The implementation and correctness proof of a compiler using a tree type without explicit jumps is simple, but yields code duplication. Our method provides a convenient way of improving such a compiler without giving up the benefits of simple reasoning.
Publication metrics
PlumX, opens in new tab
Citations
4
Captures
9
