πΒ§ Continuation
- Continuation is reification of program control state
- Continuation is goto
- Compiling with continuationsβeven if continuations are not exposed to the end programmers, they can still be useful as an implementation technique
- CPS is a subset of lambda-calculus
- CPS is single assignment (SSA)
Resources
- Appel1992: extremely good book on how to compile functional programming languages with continuations.