Modern Compiler Implementation in ML By Andrew W. Appel
Publisher: C U P 2004 | 552 Pages | ISBN: 0521607647 , 0521582741 | DJVU | 5 MB
Publisher: C U P 2004 | 552 Pages | ISBN: 0521607647 , 0521582741 | DJVU | 5 MB
This new, expanded textbook describes all phases of a modern compiler: lexical analysis, parsing, abstract syntax, semantic actions, intermediate representations, instruction selection via tree matching, dataflow analysis, graph-coloring register allocation, and runtime systems. It includes good coverage of current techniques in code generation and register allocation, as well as functional and object-oriented languages, that are missing from most books. In addition, more advanced chapters are now included so that it can be used as the basis for two-semester or graduate course. The most accepted and successful techniques are described in a concise way, rather than as an exhaustive catalog of every possible variant. Detailed descriptions of the interfaces between modules of a compiler are illustrated with actual C header files.