Modern Compiler Implementation in C
Basic Techniques
Andrew W Appel author Maia Ginsburg author
Format:Paperback
Publisher:Cambridge University Press
Published:13th Jan '97
Currently unavailable, our supplier has not provided us a restock date

Describes all phases of a modern compiler, including current techniques in code generation and register allocation, for imperative, functional, and object-oriented languages.
This textbook explains all phases of a modern compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-colouring register allocation with coalescing, and runtime systems. It covers current techniques in code generation and register allocation, as well as functional and object-oriented languages, which are missing from most books. The author illustrates the most accepted and successful techniques in a concise way, rather than as an exhaustive catalogue of every possible variant. Detailed descriptions of the interfaces between modules of a compiler are illustrated with actual C header files. A unique feature of the book is a well-designed compiler implementation project in C, including front-end and 'high-tech' back-end phases, so that students can build a complete working compiler in one semester. The textbook is meant for use in a one-semester first course for undergraduates in compiler design. Accompanying support software is available.
ISBN: 9780521586535
Dimensions: 234mm x 187mm x 24mm
Weight: 715g
408 pages