Tech Quarto
Search Advanced SearchView Cart   Checkout   
 Location:  Home » Mobile & Wireless » A Retargetable C Compiler: Design and Implementation  
Categories
Computer Science
The Internet
For Dummies
Web Browsers
Windows
Digital Culture
Multimedia
Mobile & Wireless
New Releases
Compilation Techniques for Reconfigurable Architectures
Visit Laptop Nirvana for the best Cheap Discount Laptops
Bestsellers
Compilers: Principles, Techniques, & Tools with Gradiance (pkg) (2nd Edition)
Modern Compiler Design
Compilers: Principles, Techniques, and Tools
Engineering a Compiler
Compilers: Principles, Techniques, and Tools (2nd Edition)
Apache Jakarta-Tomcat
Advanced Compiler Design and Implementation
Principles of Program Analysis
Java and the Java Virtual Machine: Definition, Verification, Validation
Optimizing Compilers for Modern Architectures: A Dependence-based Approach

A Retargetable C Compiler: Design and Implementation

A Retargetable C Compiler: Design and Implementation

zoom enlarge 
Authors: David R. Hanson, Christopher W. Fraser
Publisher: Addison-Wesley Professional
Category: Book

List Price: $69.99
Buy New: $42.99
You Save: $27.00 (39%)



New (12) Used (8) from $32.13

Avg. Customer Rating: 3.5 out of 5 stars 7 reviews
Sales Rank: 377435

Media: Paperback
Number Of Items: 1
Pages: 592
Shipping Weight (lbs): 2.1
Dimensions (in): 8.9 x 7.2 x 1.3

ISBN: 0805316701
Dewey Decimal Number: 005.453
UPC: 785342316704
EAN: 9780805316704
ASIN: 0805316701

Publication Date: February 10, 1995
Availability: Usually ships in 1-2 business days
Condition: We ship daily for faster delivery!

Editorial Reviews:

Product Description
This new book examines the implementation of lcc, a production-quality, research-oriented retargetable compiler, designed for the ANSI C programming language. The author's innovative approach uses a line-by-line explanation of the code to demonstrate how lcc is built. Accompanying disk contains the full source code for the Icc compiler, the back ends, and the code-generator.


Customer Reviews:   Read 2 more reviews...

2 out of 5 stars Source code in Web is a bad choice   February 23, 2006
 2 out of 4 found this review helpful

This book lays out the compiler's source code in Web (think Knuth), in which instead of seeing an entire program, you see a small fragment, and notes to look up the rest on a different page. In my opinion, this makes the book nearly impossible to read.

In its defense, however, the book addresses many of the engineering concerns with writing a compiler, such as data structures or memory management strategies. This is cool.

Also lacking in this book is a good description of advanced optimization techniques and modern intermediate representations.



5 out of 5 stars Very nice "Cookbook"   October 22, 2005
 2 out of 2 found this review helpful

First of all, this book is not for starters in the area of compiler design. Starters in the area of compiler design who are looking for a 'cookbook', I recommend to read 'Programming Language Processors in Java: Compilers and Interpreters' by David Watt.

Why do I like this book? Because it is a cookbook for a 'full blown' C Compiler in C itself. Well actually it's a compiler for a subset of C, but it is still very comprehensive!

It offers a lot of code snippets which are really well commented about what/where/how.

A disadvantage of this book is that it doesn't cover advanced topics such as code optimizations. This is the area where the action is right now. All other parts (scanning/parsing/etc) can be bought of the shelf.

But it remain a very nice text, to give you an valuable insight in how a compiler could be implemented.



5 out of 5 stars Excellent   December 13, 2001
 13 out of 14 found this review helpful

This book is definitely _not_ for beginners, but compilers are not supposed to be written by novices -- if there is rocket science in computers, it is compiler development. Crystal clear style and language make this book easy reading, and LCC is the best non-optimizing compiler I've seen (and believe me, I've seen many compiler sources): orthogonal, easy to follow design, well-thought data structures and overall architecture.

I treat this book as a perfect collection of brilliant ideas, many of which you will find implemented in most commercial compilers.

Whether it helps to write your own compiler? -- sure. Are you thinking about IR (internal representation) that will be easy to create and, most important, walk through and manipulate? -- take a look how Fraser et al did it; they did it well. Think how to write a front end or code generator? -- it's all there. Sure, blind copying won't work -- optimizing compiler will call for way more sophisticated BURG-like technique (one of the best known code generation techniques by now), but, all in all, it'll be BURG-like, and it's in the book as well.

So, if you want to show your students (or learn yourself) how compilers should be written, you cannot find anything better than LCC accompanied by this book. Fraser's team did it right.


3 out of 5 stars Only for *advanced* programmers   May 28, 2000
 2 out of 8 found this review helpful

I bought this book several years ago, and still haven't managed to make my way through it. The text is sometimes hard to follow, the code fragments even harder, requiring the reader to jump back several (sometimes dozens of) pages to references made. This text seemed more suited to University level Computer Science students than to the average Joe Schmoe who just wants to write a C compiler. Overall, this is a good book that details the gory insides of a compiler very well, and the added bonus of being able to get the source code is essential, as viewing the complete code while reading the book is almost a necessity, but it's not for the average/intermediate level coder.


3 out of 5 stars Only for *advanced* programmers   May 28, 2000
 3 out of 18 found this review helpful

I bought this book several years ago, and still haven't managed to make my way through it. The text is sometimes hard to follow, the code fragments even harder, requiring the reader to jump back several (sometimes dozens of) pages to references made. This text seemed more suited to University level Computer Science students than to the average Joe Schmoe who just wants to write a C compiler. Overall, this is a good book that details the gory insides of a compiler very well, and the added bonus of being able to get the source code is essential, as viewing the complete code while reading the book is almost a necessity, but it's not for the average/intermediate level coder.

Powered by Associate-O-Matic