Beyond Trees: Calculating Graph-Based Compilers (Functional Pearl)

Patrick Bahr, Graham Hutton

Publikation: Artikel i tidsskrift og konference artikel i tidsskriftTidsskriftartikelForskningpeer review

Abstract

Bahr and Hutton recently developed an approach to compiler calculation that allows a wide range of compilers to be derived from specifications of their correctness. However, a limitation of the approach is that it results in compilers that produce tree-structured code. By contrast, realistic compilers produce code that is essentially graph-structured, where the edges in the graph represent jumps that transfer the flow of control to other locations in the code. In this article, we show how their approach can naturally be adapted to calculate compilers that produce graph-structured code, without changing the underlying calculational methodology, by using a higher-order abstract syntax representation of graphs.
OriginalsprogEngelsk
Artikelnummer249
TidsskriftProceedings of the ACM on Programming Languages
Vol/bind8
Udgave nummerICFP249
Sider (fra-til)370 - 394
Antal sider25
DOI
StatusUdgivet - 15 aug. 2024
Begivenhed29th ACM SIGPLAN International Conference on Functional Programming - Milan, Italien
Varighed: 3 sep. 20245 sep. 2024

Konference

Konference29th ACM SIGPLAN International Conference on Functional Programming
Land/OmrådeItalien
ByMilan
Periode03/09/202405/09/2024

Fingeraftryk

Dyk ned i forskningsemnerne om 'Beyond Trees: Calculating Graph-Based Compilers (Functional Pearl)'. Sammen danner de et unikt fingeraftryk.

Citationsformater