See buying choices for this item to see if it's one of the millions that are eligible for Amazon Prime.

7 used & new from £21.73

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

Writing Compilers and Interpreters: An Applied Approach (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)

Available from these sellers.


1 new from £74.95 6 used from £21.73
Other Editions: RRP: Our Price: Other Offers:
Hardcover (New edition) 6 used & new from £6.00
Paperback (2nd Edition) £47.50 £40.38 22 used & new from £18.99

Customers Viewing This Page May Be Interested in These Sponsored Links

  (What is this?)
School of Languages
   www.languages.salford.ac.uk    Translation & Interpreting, TESOL, Linguistics. Find out more! 
Conference Interpreters
   www.vita.co.at    Simultaneous interpretation, equip- ment, translations in all languages 
Conference Interpreters
   www.interpreters.gr    Consultant Interpreters AIIC Accredited by the European Union 
  
 

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: 526 pages
  • Publisher: John Wiley & Sons (25 April 1991)
  • Language English
  • ISBN-10: 047150968X
  • ISBN-13: 978-0471509684
  • Product Dimensions: 24.1 x 19.7 x 3.2 cm
  • Average Customer Review: 4.0 out of 5 stars See all reviews (5 customer reviews)
  • Amazon.co.uk Sales Rank: 1,681,237 in Books (See Bestsellers in Books)

    Popular in this category:

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

Product Description

Product Description
"Writing Compilers and Interpreters" treats the topic of compiler design as a set of practical skills rather than a body of theory. These skills are taught through a series of source program utilities - by the end of the book the reader will have written a small library of useful utilities, an interactive debugging interpreter and a working Pascal compiler in C. The similarities and differences between compilers and interpreters are clearly defined - including advantages and drawbacks.

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/ --This text refers to the Paperback edition.

See all Product Description

Inside This Book (Learn More)
Browse and search another edition of this book.
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
 

What Do Customers Ultimately Buy After Viewing This Item?

Writing Compilers and Interpreters: An Applied Approach
60% buy the item featured on this page:
Writing Compilers and Interpreters: An Applied Approach 4.0 out of 5 stars (5)
Compilers: Principles, Techniques and Tools
24% 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


Fun for Everyone

Christmas Gifts
Achieve over 15,000 RPM with our great range of Powerballs.

Shop the Powerball store

 

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 50% off Dental Care

Braun Oral-B Professional Care 6000 Rechargeable Toothbrush - Pack of 2
Put a sparkle in your smile with up to 50% off selected Oral-B and Philips rechargeable toothbrushes.

Up to 50% off power toothbrushes

 

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