Amazon.com: Building Your Own Compiler with C++ (9780131821064): James Holmes: Books

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Very Good See details
$20.73 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Building Your Own Compiler with C++
 
See larger image and other views
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Building Your Own Compiler with C++ [Paperback]

James Holmes (Author)
2.3 out of 5 stars  See all reviews (3 customer reviews)

Price: $50.60 & this item ships for FREE with Super Saver Shipping. Details
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 1 left in stock--order soon.
Want it delivered Tuesday, February 28? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Paperback $50.60  

Book Description

December 3, 1994 0131821067 978-0131821064 1

Holmes satisfies the dual demand for an introduction to compilers and a hands-on compiler construction project manual in The Object-Oriented Compiler Workbook. This book details the construction process of a fundamental, yet functional compiler, so that readers learn by actually doing. It uses C++ as the implementation language, the most popular Object Oriented language, and compiles a tiny subset of Pascal, resulting in source language constructs that are already a part of most readers' experience. It offers extensive figures detailing the behavior of the compiler, especially as it relates to the parse tree. It supplies complete source codes for example compiler listed as an appendix and available by FTP.



Editorial Reviews

From the Publisher

Holmes satisfies the dual demand for an introduction to compilers and a hands-on compiler construction project manual in Building Your Own Compiler.

From the Back Cover

Holmes satisfies the dual demand for an introduction to compilers and a hands-on compiler construction project manual in The Object-Oriented Compiler Workbook. This book details the construction process of a fundamental, yet functional compiler, so that readers learn by actually doing. It uses C++ as the implementation language, the most popular Object Oriented language, and compiles a tiny subset of Pascal, resulting in source language constructs that are already a part of most readers' experience. It offers extensive figures detailing the behavior of the compiler, especially as it relates to the parse tree. It supplies complete source codes for example compiler listed as an appendix and available by FTP.

Product Details

  • Paperback: 112 pages
  • Publisher: Prentice Hall; 1 edition (December 3, 1994)
  • Language: English
  • ISBN-10: 0131821067
  • ISBN-13: 978-0131821064
  • Product Dimensions: 9.1 x 7 x 0.4 inches
  • Shipping Weight: 12 ounces (View shipping rates and policies)
  • Average Customer Review: 2.3 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Best Sellers Rank: #2,533,537 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

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

8 of 8 people found the following review helpful:
2.0 out of 5 stars Bad code, low on detail, January 29, 2003
By 
A. J. Sekeris (The Netherlands) - See all my reviews
(REAL NAME)   
This review is from: Building Your Own Compiler with C++ (Paperback)
Though I admittely have the previous print of this book, I am fairly convinced that my judgements of that book hold true for this edition. The C++ code presented here is some of the worst I have ever seen. The earlier chapters actually try to be a crashcourse C++. I got the distinct feeling in later chapters that the author's full knowledge of this wonderful language are unfortunately contained therein.

The detail level of this book is saddeningly low. Being 112 pages (194 in my edition) this is hardly a surprise anymore.

Long story short, if you want to see someone write bad but well documented code for a simple compiler, by all means buy this. If you want to know how things actually work, more books will be a necessity. My suggestion for theory: Dragon Book (Aho et al.) and add Holub's "Compiler Design in C" for a practical hands-on, but in-depth approach.

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


7 of 7 people found the following review helpful:
1.0 out of 5 stars Do NOT Buy this! Here are some good titles, February 20, 2005
By 
Jos van Roosmalen (The Netherlands, Europe) - See all my reviews
(REAL NAME)   
This review is from: Building Your Own Compiler with C++ (Paperback)
Do NOT buy this book... This is really bad.

This was one of my first compiler text I bought around 10 years ago. Don't make the same mistake!

If you're looking for a learning-by-coding compiler text buy 'Programming Languages processors in Java' by Watt and Brown. See my 5 star review there.... Second choice: If you're looking for a C++-book buy 'Compilers and Interpreters' from Ronald Mak.

This are the problems with this book:

* The language of the compiler your build in this book is too simple. There are only 2 statements: assignment statements and writeline statements. So after you study this book you know NOTHING about how to generate code for function calling, passing parameters, records, arrays because all this is not supported! Even things like IF-statement and a WHILE-loop is too difficult for the author. Extending the language with an IF-statement is an exercise, probably because the author couldn't get it working hisself.....

* If the book explains something it's only to clarify the code and not to explain you the algorithms behind it. So it tells you that a Yacc parser is called by the yyparse() function, but this book even don't tell you what parsing is, what methods there are (LL/LR etc), etc. The only you need to know is yyparse(). The author give you a Grammer file, but you may find out yourself how the grammer file is organized (BNF). So after you read this book you will still ask: 'what is parsing? what is scanning? how does Yacc work?' etc. etc.

* It is one big listing and it doesn't explain much.

Conclusion: the compiler is way too simple, the author explain nothing, and after you read this book you will have no more fundamental compiler design knowledge than you had before!

For people which are new to compiler construction will learn nothing, and for people which have advanced knowledge about compiler construction (like me) it's too simple and will discover a lot of mistakes.

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


5 of 22 people found the following review helpful:
4.0 out of 5 stars NICE !, April 19, 2000
By A Customer
This review is from: Building Your Own Compiler with C++ (Paperback)
1)This book is a nice one to read for Beginners in this context 2)Ease to understand is extra value to this book. 3)This book edges out many others in this category. 4)I would recomend this book to novice programmers.
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
 
 
 
Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


Create a Listmania! list

So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject