Compiling with Continuations
📄 Viewing lite version
Full site ›
Book Details
Author(s)Andrew W. Appel
PublisherCambridge University Press
ISBN / ASIN052103311X
ISBN-139780521033114
AvailabilityUsually ships in 24 hours
Sales Rank1,205,494
MarketplaceUnited States 🇺🇸
Description ▲
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.