News for hackers. Stuff that matters.
Re:By example: Continuation-passing style in JavaScript by silentbicycle on Tuesday November 09, 2010 @03:10PM (#1887733)
For good descriptions of using CPS as an intermediate representation in a compiler, check out Appel's _Compiling with Continuations_, Guy L. Steele's "Rabbit" thesis, Krantz's "Orbit" thesis, and chapter 12 of the first edition of _Essentials of Programming Languages_ (they cut it from later editions, unfortunately). Appel uses ML, the rest use Scheme.

There are no comments on this comment yet.