A Simple Correctness Proof of the Direct-Style Transformation
Keyword(s):
We build on Danvy and Nielsen's first-order program transformation into continuation-passing style (CPS) to present a new correctness proof of the converse transformation, i.e., a one-pass transformation from CPS back to direct style. Previously published proofs were based on, e.g., a one-pass higher-order CPS transformation, and were complicated by having to reason about higher-order functions. In contrast, this work is based on a one-pass CPS transformation that is both compositional and first-order, and therefore the proof simply proceeds by structural induction on syntax.
Keyword(s):
Keyword(s):
Keyword(s):
Keyword(s):
2018 ◽
2006 ◽
Vol 16
(6)
◽
pp. 663-670
◽
Keyword(s):
Even higher-order functions for parsing or Why would anyone ever want to use a sixth-order function?
1998 ◽
Vol 8
(2)
◽
pp. 195-199
◽
Keyword(s):
Keyword(s):