Compiling with Continuations
📄 Viewing lite version
Full site ›
Book Details
Author(s)Andrew W. Appel
PublisherCambridge University Press
ISBN / ASIN0521416957
ISBN-139780521416955
Sales Rank2,679,438
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.