BRICS Report Series · 2001 · 24 citations · 13 references
ComputingComputer ScienceCompilersFormal MethodsProgramming LanguagesControl-flow AnalysisData-flow AnalysisConstraint-based ControlConstraintsContinuation-passing StyleInformation Flow StructureLambda AbstractionLeast ElementReductions
We characterize the impact of a linear beta-reduction on the result of a control-flow analysis. (By ``a linear beta-reduction'' we mean the beta-reduction of a linear lambda-abstraction, i.e., of a lambda-abstraction whose parameter occurs exactly once in its body.)<br /> <br /> 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. Since we know how to construct least solutions, preservation of least solutions solves a problem that was left open in Palsberg and Wand's paper ``CPS Transformation of Flow Information.''<br /> <br />Therefore, together, Palsberg and Wand's article ``CPS Transformation of Flow Information'' 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.<br /> <br />Superseded by BRICS-RS-02-36.
13
Jr. Guy L. Steele · DSpace@MIT (Massachusetts Institute of Technology) · 1978 · 404 citations · Full text
The discoveries of continuations
John Reynolds · LISP and Symbolic Computation · 1993 · 294 citations
A generic account of continuation-passing styles
John Hatcliff, Olivier Danvy · 1994 · 142 citations · Full text