paperbot · PL 论文追踪

RSS

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

ICFP 8(ICFP)2024引用 0
Patrick Bahr, Graham Hutton

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(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.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{BahrH24,
  title = {Beyond Trees: Calculating Graph-Based Compilers (Functional Pearl)},
  author = {Patrick Bahr and Graham Hutton},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {ICFP},
  year = {2024},
  doi = {10.1145/3674638}
}