paperbot · PL 论文追踪

RSS

No-brainer CPS conversion (functional pearl)

ICFP 1(ICFP)2017引用 1
Milo Davis, William Meehan, Olin Shivers

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

原文摘要(Abstract)

Algorithms that convert direct-style λ-calculus terms to their equivalent terms in continuation-passing style (CPS) typically introduce so-called “administrative redexes:” useless artifacts of the conversion that must be cleaned up by a subsequent pass over the result to reduce them away. We present a simple, linear-time algorithm for CPS conversion that introduces no administrative redexes. In fact, the output term is a normal form in a reduction system that generalizes the notion of “administrative redexes” to what we call “no-brainer redexes,” that is, redexes whose reduction shrinks the size of the term. We state the theorems which establish the algorithm's desireable properties, along with sketches of the full proofs.

链接与引用

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

BibTeX
@article{DavisMS17,
  title = {No-brainer CPS conversion (functional pearl)},
  author = {Milo Davis and William Meehan and Olin Shivers},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {1},
  number = {ICFP},
  year = {2017},
  doi = {10.1145/3110267}
}