Proving correctness of compilers using structured graphs

Patrick Bahr

2 Citations (Scopus)

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.

Original languageEnglish
Title of host publicationFunctional and logic programming : 12th International Symposium, FLOPS 2014, Kanazawa, Japan, June 4-6, 2014. Proceedings
Number of pages17
PublisherSpringer
Publication date2014
Pages221-237
Chapter14
ISBN (Print)978-3-319-07150-3
ISBN (Electronic)978-3-319-07151-0
DOIs
Publication statusPublished - 2014
EventInternational Symposium, FLOPS 2014 - Kanazawa, Japan
Duration: 4 Jun 20146 Jun 2014
Conference number: 12

Conference

ConferenceInternational Symposium, FLOPS 2014
Number12
Country/TerritoryJapan
CityKanazawa
Period04/06/201406/06/2014
SeriesLecture notes in computer science
Volume8475
ISSN0302-9743

Cite this