CPS transformation of flow information, part II: Administrative reductions

1Citations
Citations of this article
13Readers
Mendeley users who have this article in their library.

Abstract

We characterize the impact of a linear β-reduction on the result of a control-flow analysis. (By 'a linear β-reduction' we mean the β-reduction of a linear λ-abstraction, i.e., of a λ-abstraction whose parameter occurs exactly once in its body.) As a corollary, we consider the administrative reductions of a Plotkin-style transformation into Continuation-Passing Style (CPS), and how they affect the result of a constraint-based control-flow analysis and, in particular, the least element in the space of solutions. We show that administrative reductions preserve the least solution. Preservation of least solutions solves a problem that was left open in Palsberg and Wand's article 'CPS Transformation of Flow Information.' Together, Palsberg and Wand's article and the present article show how to map in linear time the least solution of the flow constraints of a program into the least solution of the flow constraints of the CPS counterpart of this program, after administrative reductions. Furthermore, we show how to CPS transform control-flow information in one pass.

Cite

CITATION STYLE

APA

Damian, D., & Danvy, O. (2003). CPS transformation of flow information, part II: Administrative reductions. Journal of Functional Programming, 13(5), 925–933. https://doi.org/10.1017/S0956796803004702

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free