Skip to main content

Questions tagged [continuation-passing-style]

13 votes
0 answers
148 views

Continuation-passing style is a useful technique for implementing exceptions, coroutines, non-local returns, async/await, and ...
Michael Homer's user avatar
  • 15.6k
5 votes
1 answer
414 views

I have heard that smlnj uses continuation passing style and that is one reason it has been dropped from the proof assistant Isabelle. Makarius, the author of the answer above, also gave a detailed ...
Greg Nisbet's user avatar
16 votes
2 answers
1k views

Motivation CPS(Continuation-Passing Style), SSA(Static Single Assignment), ANF(A-Normal Form) are three common forms of IR(Intermediate Representation). I find it very convenient to describe and ...
Aster's user avatar
  • 3,508
6 votes
1 answer
204 views

Motivation I have seen many places saying that CPST (continuation-passing style transformation) can express all control flows, but the examples they give are relatively simple and do not involve any ...
Aster's user avatar
  • 3,508