Compiling with Continuations
Andrew W. Appel
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.
Categorías:
Año:
1992
Edición:
1
Editorial:
Cambridge University Press
Idioma:
english
Páginas:
270
ISBN 10:
0511609612
ISBN 13:
9780521416955
Archivo:
PDF, 979 KB
IPFS:
,
english, 1992