Modern Compiler Implementation in Java

豆瓣
Modern Compiler Implementation in Java

登入後可管理標記收藏

ISBN: 9780521820608
作者: Andrew W. Appel / Jens Palsberg
出版社: 劍橋大學出版社
發行時間: 2002 -10
價格: USD 99.00
頁數: 501

/ 10

1 個評分

評分人數不足
借閱或購買

Andrew W. Appel / Jens Palsberg   

簡介

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 good coverage of current techniques in code generation and register allocation, as well as the compilation of functional and object-oriented languages, that is missing from most books. The most accepted and successful techniques are described concisely, rather than as an exhaustive catalog of every possible variant, and illustrated with actual Java classes. The first part of the book, Fundamentals of Compilation, is suitable for a one-semester first course in compiler design. The second part, Advanced Topics, 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 has been extensively rewritten to include more discussion of Java and object-oriented programming concepts, such as visitor patterns. 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, so that students can build a complete working compiler in one semester.

其他版本 (5)
短評
評論
筆記