Join Amazon Prime and get unlimited Free One-Day Delivery. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
24 used & new from £18.99

Have one to sell? Sell yours here
 
   
Writing Compilers and Interpreters: An Applied Approach Using C++
 
 

Writing Compilers and Interpreters: An Applied Approach Using C++ (Paperback)

by Ronald Mak (Author) "In this chapter, we begin writing the front end of our Pascal compiler or interpreter by creating two fundamental objects ..." (more)
4.0 out of 5 stars See all reviews (5 customer reviews)
RRP: £47.50
Price: £40.38 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £7.12 (15%)
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.
Dispatched from and sold by Amazon.co.uk. Gift-wrap available.

Only 1 left in stock--order soon (more on the way).

Want guaranteed delivery by Saturday, July 18? Choose Express delivery at checkout. See Details
14 new from £31.53 10 used from £18.99
Other Editions: RRP: Our Price: Other Offers:
Hardcover (New edition) 6 used & new from £6.00
Paperback 3 used & new from £19.05

Frequently Bought Together

Customers buy this book with Compilers: Principles, Techniques and Tools by Alfred V. Aho

Writing Compilers and Interpreters: An Applied Approach Using C++ + Compilers: Principles, Techniques and Tools
Price For Both: £87.87

Show availability and shipping details


Customers Who Bought This Item Also Bought

Compilers: Principles, Techniques and Tools

Compilers: Principles, Techniques and Tools

by Alfred V. Aho
4.5 out of 5 stars (13)  £47.49
Modern Compiler Design (Worldwide Series in Computer Science)

Modern Compiler Design (Worldwide Series in Computer Science)

by D. Grune
4.2 out of 5 stars (5)  £35.14
Modern Compiler Implementation in C

Modern Compiler Implementation in C

by Andrew W. Appel
3.5 out of 5 stars (2)  £29.75
Java Concurrency in Practice

Java Concurrency in Practice

by Brian Goetz
4.8 out of 5 stars (6)  £17.39
The Definitive ANTLR Reference: Building Domain-Specific Languages (Pragmatic Programmers)

The Definitive ANTLR Reference: Building Domain-Specific Languages (Pragmatic Programmers)

by Terence Parr
3.0 out of 5 stars (2)  £19.95
Explore similar items

Product details

  • Paperback: 864 pages
  • Publisher: John Wiley & Sons; 2nd Edition edition (21 Aug 1996)
  • Language English
  • ISBN-10: 0471113530
  • ISBN-13: 978-0471113539
  • Product Dimensions: 23.2 x 18.8 x 5 cm
  • Average Customer Review: 4.0 out of 5 stars See all reviews (5 customer reviews)
  • Amazon.co.uk Sales Rank: 318,775 in Books (See Bestsellers in Books)

    Popular in these categories:

    #17 in  Books > Computing & Internet > Programming > Compilers
    #19 in  Books > Computing & Internet > Programming > Languages > C & C++ > Graphics
  • See Complete Table of Contents

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
C++Builder | Visual IDE
   www.Embarcadero.com    RAD Visual IDE for rapid C and C++ Development. More info. Free trial 
C Language Compilers
   www.PGroup.com    Outstanding Performance, Uncommon Reliability. Request a Quote Now! 
TransPerfect Translations
   www.transperfect.com    Language and Business Solutions ISO 9001:2000-certified 
  
 

Product Description

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/

From the Back Cover
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/

See all Product Description

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:

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below
(1)

Your tags: Add your first tag
 

What Do Customers Ultimately Buy After Viewing This Item?

Writing Compilers and Interpreters: An Applied Approach Using C++
61% buy the item featured on this page:
Writing Compilers and Interpreters: An Applied Approach Using C++ 4.0 out of 5 stars (5)
£40.38
Compilers: Principles, Techniques and Tools
23% buy
Compilers: Principles, Techniques and Tools 4.5 out of 5 stars (13)
£47.49
Modern Compiler Implementation in C
16% buy
Modern Compiler Implementation in C 3.5 out of 5 stars (2)
£29.75

 

Customer Reviews

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

 
8 of 8 people found the following review helpful:
5.0 out of 5 stars The best introduction to this subject I have read, 17 Sep 1999
By A Customer
This is a clear introduction to interpreters and compilers. The main project in the book is the development of a Pascal compiler. The book contains all of the source(printed, not cdrom) for the Pascal interpreter, compiler and debugger. If you could sit down now and write a compiler, then you probably don't need this book. If, however, you need to know how tokenizers and parsers conspire to build symbol tables that can be traversed by interpreters or compilers to run programs then this book is a very good starting point.

While I recommend this book strongly, I do have some resevations:

It claims to use C++. This is true, but a lot of C code is present. The author 'ported' a lot of the code from C to C++. It shows. The C++ is all pre-standard C++.

The book contains a *lot* of source code, but no cdrom, and I haven't found it online. Be prepared to do a lot of typing.

The implementation of Pascal developed in the book doesn't cover all of Pascal. I think this is good. I managed to add pointer support(in a limited way). I had never worked with compilers before, and it was fun to add functionality to a compiler. Try it.

The compiler that is developed emits 8086 assembler. It took me a while to get my assembler to eat this.

Despite my complaints, I strongly recommend this book.

I would like to see version 3 use standard C++, and emit at least 80386 opcodes.

If you've read this far, buy it.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
5 of 5 people found the following review helpful:
5.0 out of 5 stars A good introduction to compiler basics, 7 Mar 1998
By A Customer

This book delivers exactly what it promises--a complete step-by-step example of writing 'a compiler'. The book is simply a description of one way to build one compiler (and interpreter, and debugger, and various useful utilities).

The basics are well presented. First a topic is described, then source code is presented and explained. The results of test runs are shown, and then off to the next topic. Advanced topics, such as optimization, are intentially left out.

When a person is ready to read a first book about compilers, this is a good one. All source code developed/described in the book is available on-line.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
1 of 1 people found the following review helpful:
1.0 out of 5 stars Bought it. Sent it back., 18 Sep 2008
By Mr. J. Youngman (Europe) - See all my reviews
(REAL NAME)   
About 75% of this book is simply a printout of the code. There is not very much expository text, the compiler code is left to speak for itself. However, a number of features of the book annoyed me. Firstly the book uses an incredibly arcane dialect of C++. The author actually does this:

#define false 0
#define true 1
#define bool int

(bool could be a typedef, I forget).

I concluded pretty rapidly that the book was not going to be useful for me.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

4.0 out of 5 stars good book if you want to see some hard code...
the book has the feel of an introduction for which it is very
good but i do believe it glosses over i-code, code-gen and
optimization techniques too much (compare the... Read more
Published on 27 Jun 2005

5.0 out of 5 stars Excellent
This is one of the finest books on compiler design that I have read.

The greatest thing about this book is author's writing style, conceptual integrity and a balance between... Read more

Published on 12 Jul 1999

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

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

   


Listmania!


Look for similar items by category


Feedback


The Body Shop

The Body Shop - Vitamin C Skin Boost
Protect and boost your glow with The Body Shop Vitamin C Skin Boost.

Shop The Body Shop

 

More From Ronald Mak

The Martian Principles...

The Martian Principles for Successful...

When you need to land and operate a robot on Mars, "halfway" software... Read more
£19.99 £16.99

 

Up to 53% off Braun Series Shavers

Braun Series 3 390cc Clean & Renew System Rechargeable Foil Electric Shaver
Get in touch with your smooth side with Braun Series shavers, now with Gillette blade technology.

Discover Braun Series at Amazon.co.uk

 

Treat Someone

Amazon.co.uk Gift Certificates--available in any amount from £5 to £500 With an Amazon.co.uk Gift Certificate, you can get them what they want (even if you don't know what that is).

Learn more about Gift Certificates

 
Ad

Where's My Stuff?

Delivery and Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue Shopping: Top Sellers

amazon.co.uk Amazon Home
International Sites:  United States  |  Germany  |  France  |  Japan  |  Canada  |  China
Business Programs: Sell on Amazon  |  Fulfilment by Amazon  |  Join Associates  |  Join Advantage
Customer Service  |  Help  |  View Basket  |  Your Account
About Amazon.co.uk  |  Careers at Amazon
Conditions of Use & Sale |  Privacy Notice  © 1996-2009, Amazon.com, Inc. and its affiliates