Regular marked price: $70.00Discount Price: $44.10
Cost Savings: $25.90 (37%)Price fluctuation possible.
How soon does it ship: Normal ship time within one day
Shipping? Absolutely FREE if you qualify for Super Saver Shipping.
Type of bind: Paperback
Dewey Decimal Number: 005.45
EAN num: 9780471113539
ISBN number: 0471113530
Label: Wiley
Manufacturer: Wiley
Quantity: 1
Page Count: 864
Printing Date: August 10, 1996
Publishing house: Wiley
Sale Popularity Level: 94157
Studio: Wiley
Other books you might be interested in perusing:
Editor's Notes and Comments:
Product Description:
Quickly master all the skills you need to build your own compilers and interpreters in C++
Whether you are a professional programmer who needs to write a compiler at work or a personal programmer who wants to write an interpreter for a language of your own invention, this book quickly gets you up and running with all the knowledge and skills you need to do it right. It cuts right to the chase with a series of skill-building exercises ranging in complexity from the basics of reading a program to advanced object-oriented techniques for building a compiler in C++.
Here's how it works:
Every chapter contains anywhere from one to three working utility programs that provide a firsthand demonstration of concepts discussed, and each chapter builds upon the preceding ones. You begin by learning how to read a program and produce a listing, deconstruct a program into tokens (scanning), and how to analyze it based on its syntax (parsing). From there, Ron Mak shows you step by step how to build an actual working interpreter and an interactive debugger. Once you've mastered those skills, you're ready to apply them to building a compiler that runs on virtually any desktop computer.
Visit the Wiley Computer Books Web page at: http://www.wiley.com/compbooks/
User popularity level:

Rated by buyers
-
I read this book in my freshman year long back (2001) -- might have been a previous version. Book is awesome if you know *nothing* about compilers, interpreters, languages etc. I did not know Pascal, had just learnt C++ and (was forced to learn) FORTRAN, knew basic concepts of assembly language and how computers work etc. I enjoyed the book. I never wrote a line of code while I was reading it, but for the rest of my life through college, I have never been afraid about writing my own parser/interpreter/compiler. I had borrowed the book from the library, so for those of you who actually pay for this book, YMMV really.
Rated by buyers
-
I am amazed at the positive reviews I have read about this book. Unfortunately, I took their advice and bought it.
The book tries to follow the approach of teaching by example by developing compiler/interpreter components and utilities in C++. Unfortunately, the book reads more like a computer program printout, and quickly becomes too boring to follow.
There is very little theoretical background to the concepts behind creating compilers and interpreters. Attemping to learn from the C++ code will quickly confirm that the code is of very poor quality, and seems to be a bodged conversion from C rather than a native C++ development.
Avoid this book at all costs. It is especially dangerous for C++ novices as following the code will teach bad practices and lead you to believe that C++ is just C with classes. It is useless for experienced C++ programmers who wish to learn about compiler/interpreter programming techniques.
Rated by buyers
-
This was really my 'practical compilerbook' winner (bought in 1999), until I discovered in 2004 "Programming Language Processors in Java: Compilers and Interpreters" by David Watt, which I like more.
If you're looking for a theory book about compiler design I would recommend 'Engineering a compiler' by Cooper et al.
This book offers a nice compiler (including x86 code generator and debugger!!), for a simple language.
The problem is that the compiler is written in C++, and if you are more familiar with Java you could better buy the book I recommened above.
An advantage of this book is that it also covers rare topics, such as debugger implementation.
A disadvantage is that this book show a lot of code. Actually, all code is printed in the book (as far as I know). That's why it's a big bibble.
The greatest disadvantage of this book is that it doesn't introduce new concepts. It offers a recursive descent parser (difficult to maintain), instead of much faster table driven parsers, or recursive descent parsers made by a generator (ANTLR).
However, this is a great starter for C++ people new to compiler design. Java people would I recommend to buy the book of Watt as recommended above.
Rated by buyers
-
This is a down'n'dirty book on how to create a complete Pascal compiler. The book is heavily loaded with massive amounts of code, code which is at times very repetitive, since the author keeps improving on his classes time after time, writing the complete class code each time. If you can read C++ code as well as english, this is a great book to learn every detail about creating a compiler.
The book also cover alot of interesting off-topics, such as programming technique and code management. It is quite obvious that Roald Mak is a very gifted programmer.
I would not recommend this book to anyone who hasn't been doing regular C++ programming for at least 2-3 years. But then again, who else would care about creating their own compilers? ;)
Rated by buyers
-
I bought and examined this book thoroughly. There are so many old concepts I wonder whether the author has ever re-read its current second edition. It is supposed to have been written for C++ programmers but of what generation? I understand that the current 2nd edition was written after the release of MS Visual C++ 4. So, the source code still assumes that C++ doesn't have the true and false Boolean constants since the author #defines them, which causes an error in both Visual C++ 6 and later. In fact, the use of #include and void main()indicate that the book is not ANSI compliant. The web site that supports the book provides source code, for MSVC 4 (only after I bought the book, which is extremely expensive, did I find out on the 4th page that it was released in 1996; but the current C++ Standard is from 1998). I tried compiling them in MSVC6 and MSVC.NET. None of the programs compiled (none at all). Even after re-creating the programs by adding files manually, I received many many errors. I tried to fix them and also tried compiling from the Command Prompt, to no avail. It is true that we don't have that many books on compiler development but just as these books are rare, this particular one will be to no help. It is (very) old and its programs don't work. The only things you might get are the authors comments that may help you with some suggestions or guidance, which will be little.
Find other books like this one: