Overview
This textbook describes all phases of a 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 thorough coverage of current techniques in code generation and register allocation, and the compilation of functional and object-oriented languages. The most accepted and successful techniques are described and illustrated with actual Java TM(R) classes. The first part is suitable for a one-semester first course in compiler design. The second part; which includes the compilation of object-oriented and functional languages, garbage collection, loop optimization, SSA form, instruction scheduling, and optimization for cache-memory hierarchies; can be used for a second-semester or graduate course. This new edition includes more discussion of Java and object-oriented programming concepts such as visitor patterns plus a new Mini-Java programming project. A unique feature is the newly redesigned compiler project in Java for a subset of Java itself. The project includes both front-end and back-end phases.
This item is Non-Returnable
Customers Also Bought
Details
- ISBN-13: 9780521820608
- ISBN-10: 052182060X
- Publisher: Cambridge University Press
- Publish Date: October 2002
- Dimensions: 10.1 x 8.2 x 1.3 inches
- Shipping Weight: 2.8 pounds
- Page Count: 512
Related Categories
