Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
More Buying Choices
Have one to sell? Sell yours here
Writing Compilers and Interpreters
 
 

Writing Compilers and Interpreters [Paperback]

Ronald Mak
4.3 out of 5 stars  See all reviews (15 customer reviews)
List Price: CDN$ 76.99
Price: CDN$ 56.57 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 20.42 (27%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually ships within 1 to 3 months.
Ships from and sold by Amazon.ca. Gift-wrap available.

Formats

Amazon Price New from Used from
Hardcover --  
Paperback CDN $56.57  
There is a newer edition of this item:
Writing Compilers and Interpreters: A Software Engineering Approach Writing Compilers and Interpreters: A Software Engineering Approach
CDN$ 67.43
Usually ships in 2 to 5 weeks

Product Details


Product Description

Book 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/

From the Publisher

Grab hold of your C++ because here you'll learn how to use it to write compilers and interpreters--those programs that translate high-level computer code into machine-executable code. The only C++-based book on compilers and interpreters available, this revised and updated edition shows you the ABC's of reading and listing a program, breaking it into tokens, parsing it, and examining its syntax. Then it shows you how to build an actual interpreter, debugger, and finally, a compiler.

Inside This Book (Learn More)
First Sentence
In this chapter, we begin writing the front end of our Pascal compiler or interpreter by creating two fundamental objects. Read the first page
Explore More
Concordance
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organize and find favorite items.
Your tags: Add your first tag
 

 

Customer Reviews

15 Reviews
5 star:
 (9)
4 star:
 (4)
3 star:    (0)
2 star:
 (1)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.3 out of 5 stars (15 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most helpful customer reviews

1.0 out of 5 stars Old book - Old Ideas, July 5 2004
By 
Jacques E. Zoo "Real Echelon" (Laurel, MD, U.S.A.) - See all my reviews
(REAL NAME)   
This review is from: Writing Compilers and Interpreters (Paperback)
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 <iostream.h> 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.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4.0 out of 5 stars Good Book, But The Code Is Only Partially Object Oriented, Feb 27 2003
By A Customer
This review is from: Writing Compilers and Interpreters (Paperback)
It is a good book and its implementation of a Pascal compiler functions fine, but I didn't like the way the code was only partially object oriented. It's hard for me to understand why the author went to the trouble of making 90% of the code object oriented and then used some global variables that should obviously be members of some of the classes. Other than that, the book was very easy to understand.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5.0 out of 5 stars Excellent practical introduction to the subject, Jun 2 2002
By 
This review is from: Writing Compilers and Interpreters (Paperback)
This text fully accomplishes its goal of providing a simple
and practical introduction to this subject. Students and
self-taught programmers having difficulty understanding
compiler theory from texts like the "dragon book" will find
this book very useful in getting started.

Working thru all the well written C++ code also provides
excerise in polishing your C++ programming skills, beyond the
first class introducing C++. Though there is a lot of code,
I feel there is significant "added value" in the presentation
of code segments and textual descriptions which helps novices
grasp implementation of the concepts being discussed.

As every author knows, books like all other projects can be
refined further. One enhancement to this book is that
every chapter should include a (small) section dedicated
discussing the theoretical concepts without any reference
to the code. Alternative approaches and advanced concepts
could be mentioned here with a word about using simple
techniques to stay in line with the goal of the book.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Want to see more reviews on this item?
 Go to Amazon.com to see all 25 reviews  4.0 out of 5 stars 
 
 
Most recent customer reviews











Only search this product's reviews



Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges