📝Compiling with continuations

Even if the source language does not expose continuations as an abstraction for the programmer, continuations can still be useful as a language implementation technique.

e.g., effects in Leijen2016 can be clearly implemented with continuations.

CPS also shares properties with other intermediate representations:

See also



Want to receive my 🖋 posts as I publish them?