Next: , Previous: , Up: Compiling to the Virtual Machine   [Contents][Index]


9.4.4 Continuation-Passing Style

Continuation-passing style (CPS) is Guile’s principal intermediate language, bridging the gap between languages for people and languages for machines. CPS gives a name to every part of a program: every control point, and every intermediate value. This makes it an excellent medium for reasoning about programs, which is the principal job of a compiler.