Skip to content

Compiling with Continuations

Spend $50 to get a free DVD!

ISBN-10: 052103311X

ISBN-13: 9780521033114

Edition: 2006

Authors: Andrew W. Appel

List price: $99.99
Shipping box This item qualifies for FREE shipping.
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!


This book shows how continuation-passing style is used as an intermediate representation to perform optimizations and program transformations. Continuations can be used to compile most programming languages. The method is illustrated in a compiler for the programming language Standard ML. Prior knowledge of ML, however, is not necessary, as the author carefully explains each concept as it arises. This is the first book to show how concepts from the theory of programming languages can be applied to the production of practical optimizing compilers for modern languages like ML. All the details of compiling are covered, including the interface to a runtime system and garbage collector.
Customers also bought

Book details

List price: $99.99
Copyright year: 2006
Publisher: Cambridge University Press
Publication date: 2/1/2007
Binding: Paperback
Pages: 272
Size: 6.69" wide x 9.61" long x 0.55" tall
Weight: 0.968
Language: English

Andrew W. Appel is the Eugene Higgins Professor and Chairman of the Department of Computer Science at Princeton University.

Continuation-passing style
Semantics of the CPS
ML-specific optimizations
Conversion into CPS
Optimization of the CPS
Common subexpressions
Closure conversion
Register spilling
Space complexity
The abstract machine
Machine code generation
Performance evaluation
The runtime system
Parallel programming
Future directions