Hardcover: 801 pages
Publisher: Morgan Kaufmann; 1 edition (November 10, 2003)
Product Dimensions: 9.5 x 8 x 1.4 inches
Shipping Weight: 4.2 pounds
Average Customer Review: 3.5 out of 5 stars See all reviews (13 customer reviews)
Best Sellers Rank: #784,708 in Books (See Top 100 in Books) #51 in Books > Computers & Technology > Programming > Languages & Tools > Compiler Design #102 in Books > Computers & Technology > Hardware & DIY > Microprocessors & System Design > Computer Design #149 in Books > Computers & Technology > Programming > Languages & Tools > Compilers
This is really a super compiler text. It is also one of the most recent compiler books you can buy.First of all this is a theoretical book. If you read the title 'Engineering a compiler' as 'Coding/Building a compiler' you would be disappointed! So, if you're looking for a learing-by-coding book, this is not for you (but I have some recommendations at the end of this review in the latest paragraph). The difference with most of the other theoretical books is that this book is not a dry text. It has also a nice layout. It gives plenty of examples, and all topics are well connected to each other. It's a pleasure to read for not native English people, so native English people can read it pretty fast.This book read like a novel.. It does contain enough diagrams, tables, etc. but not too much (crowded), and everything is well explained.You can read this book as a compiler introduction book. But I can only recommend this to B.Sc/M.Sc Computer Science students (like me). You don't need to have a M.Sc in Mathematics to understand this text, (all the math, eg. liveness graphs are well explained), but you will understand everything better if you have some background in algorithms (design), pseudocode, etc. like you gained during your B.Sc program. People without formal computer science education I would recommend to read a practical book first (see at the end of this review), because you may find else this text too theoretical.This book focus on code optimizations. According to the authors (and me) compiler front ends (scanning/parsing/etc) are commodities today, and the backend (codegeneration) is where the difference is made nowadays. So if you're looking for a introduction text into compiler optimization this book is for you!
What it is: A great introduction to basic concepts in contemporary compilers.What it's not: A handbook for someone thrown in at the deep end of commercial compiler development.I can imagine a very good one-term course in compiler construction built around this text. After a brief introduction, it gets immediately into the classic topics of lexical scanning, parsing, and syntax analysis. These three chapters help any beginner understand the multiple levels of processing, from the character level, up through reorganizing grammars for practical parsing and table-driven techniques, to the lower levels of sematic analysis. This includes a very brief discussion of type systems and type inference - less than 20 pages, on a topic that whole books devote themselves to. These 200 pages typify what you'll see in the rest of the book: a lot of attention paid to lexical analysis, a problem largely eliminated by automated tools (lex and yacc being the best known), and thin mention of the harder problems that differ significantly across languages and applications of languages.Chapter 5 addresses the critical issue of intermediate representation, the data structures that represent the program during analysis, optimization, and code generation. Chapter 6 is titled "The Procedure Abstraction." It deals with much more than its name suggests, including procedure activation records (generalizations of stack frames), parameter passing, stack management, symbol visibility and scoping, and scraps of symbol table organization - important stuff, but hard to understand as "procedure abstaction." The next chapter deals with "Code Shape," a grab-bag including value representations, arrays and strings, control constructs, and procedures (again).
Engineering a Compiler Beginner's Guide to Programming the PIC24/dsPIC33: Using the Microstick and Microchip C Compiler for PIC24 and dsPIC33 (Volume 1) Beginner's Guide To Embedded C Programming: Using The Pic Microcontroller And The Hitech Picc-Lite C Compiler Modern Compiler Implementation in Java Principles of Compiler Design (Addison-Wesley series in computer science and information processing) Compiler Construction: Principles and Practice Crafting A Compiler Modern Compiler Implementation in ML Modern Compiler Implementation in C Introduction to Compiler Design (Undergraduate Topics in Computer Science) Compiler Design in C (Prentice-Hall software series) Earthquake Engineering: From Engineering Seismology to Performance-Based Engineering Fundamentals of Earthquake Engineering (Civil engineering and engineering mechanics series) G.Dieter's Li.Schmidt's Engineering 4th (Fourth) edition(Engineering Design (Engineering Series) [Hardcover])(2008) Tissue Engineering I: Scaffold Systems for Tissue Engineering (Advances in Biochemical Engineering/Biotechnology) (v. 1) Mathcad: A Tool for Engineering Problem Solving + CD ROM to accompany Mathcad (Basic Engineering Series and Tools) Control Engineering, 2nd Edition (Tutorial Guides in Electronic Engineering) Cold Regions Engineering: Proceedings of the Sixth International Specialty Conference Hosted by the Us Army Cold Regions Research and Engineering LA Face Image Analysis by Unsupervised Learning (The Kluwer International Series in Engineering and Computer Science, Volume 612) (The Springer International Series in Engineering and Computer Science) Air Pollution Engineering Manual (Environmental Engineering)