Abstract
This paper presents a new two-stage CPS algorithm. The first stage plants trivial partial continuations via a recursive-descent traversal and the second stage is a rewrite system that transforms all nontail calls into tail calls. The algorithm combines the metaphors of the Plotkin-style CPS transformation along with reduction in the λ-calculus.
Cite
CITATION STYLE
APA
Friedman, D. P., & Sabry, A. (2002). CPS in little pieces: Composing partial continuations. Journal of Functional Programming, 12(6), 617–622. https://doi.org/10.1017/S0956796801004221
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.
Already have an account? Sign in
Sign up for free