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

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: £38.88 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £8.62 (18%)
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 2 left in stock--order soon (more on the way).

Want guaranteed delivery by Tuesday, November 17? Choose Express delivery at checkout. See Details
13 new from £7.41 5 used from £7.45

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: £88.22

Show availability and delivery 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)  £49.34
Modern Compiler Implementation in C

Modern Compiler Implementation in C

by With Maia Ginsburg Andrew W. Appel
3.5 out of 5 stars (2)  £29.75
Operating Systems Design and Implementation

Operating Systems Design and Implementation

by Andrew S Tanenbaum
4.6 out of 5 stars (10)  £43.64
An Introduction to MultiAgent Systems

An Introduction to MultiAgent Systems

by Michael Wooldridge
£29.44
The C++ Standard Library: A Tutorial and Reference

The C++ Standard Library: A Tutorial and Reference

by Nicolai M. Josuttis
4.8 out of 5 stars (12)  £26.36
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: 569,450 in Books (See Bestsellers in Books)

    Popular in this category:

    #36 in  Books > Computing & Internet > Programming > Compilers
  • See Complete Table of Contents

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
   C++ opens new browser window
Microsoft.com/VisualStudio  -  Try Visual Studio® 2010 Beta For Free. Quick & Easy Download! 
   C++Builder | Visual IDE opens new browser window
www.Embarcadero.com  -  RAD Visual IDE for rapid C and C++ Development. More info. Free trial 
   C Language Compilers opens new browser window
www.PGroup.com  -  Outstanding Performance, Uncommon Reliability. Request a Quote Now! 
  
 

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/

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.
 
(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++
56% buy the item featured on this page:
Writing Compilers and Interpreters: An Applied Approach Using C++ 4.0 out of 5 stars (5)
£38.88
Modern Compiler Implementation in C
16% buy
Modern Compiler Implementation in C 3.5 out of 5 stars (2)
£29.75
Compilers: Principles, Techniques and Tools
14% buy
Compilers: Principles, Techniques and Tools 4.5 out of 5 stars (13)
£49.34
Modern Compiler Design (Worldwide Series in Computer Science)
9% buy
Modern Compiler Design (Worldwide Series in Computer Science) 4.2 out of 5 stars (5)
£28.97

 

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

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
 

   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback

Ad

Your Recent History

 (What's this?)

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