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.
Original language | English |
---|---|
Article number | 249 |
Journal | Proceedings of the ACM on Programming Languages |
Volume | 8 |
Issue number | ICFP249 |
Pages (from-to) | 370 - 394 |
Number of pages | 25 |
DOIs | |
Publication status | Published - 15 Aug 2024 |
Event | 29th ACM SIGPLAN International Conference on Functional Programming - Milan, Italy Duration: 3 Sept 2024 → 5 Sept 2024 |
Conference
Conference | 29th ACM SIGPLAN International Conference on Functional Programming |
---|---|
Country/Territory | Italy |
City | Milan |
Period | 03/09/2024 → 05/09/2024 |
Keywords
- program calculation
- graphs
- higher-order abstract syntax