Buy Used
Used - Good See details
Price: £5.63

or
Sign in to turn on 1-Click ordering.
 
   
Trade in Yours
For a £6.06 Gift Card
Trade in
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
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.

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

Terence Parr
3.0 out of 5 stars  See all reviews (4 customer reviews)

Available from these sellers.


Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Books Trade-In Store for more details. Learn more.
There is a newer edition of this item:
The Definitive ANTLR 4 Reference The Definitive ANTLR 4 Reference 5.0 out of 5 stars (1)
£28.50
In stock.

Book Description

24 May 2007 0978739256 978-0978739256 1

ANTLR v3 is the most powerful, easy-to-use parser generator built to date, and represents the culmination of more than 15 years of research by Terence Parr. This book is the essential reference guide to using this completely rebuilt version of ANTLR, with its amazing new LL() parsing technology, tree construction facilities, StringTemplate code generation template engine, and sophisticated ANTLRWorks GUI development environment. Learn to use ANTLR directly from the author!

ANTLR is a parser generator-a program that generates code to translate a specified input language into a nice, tidy data structure. You might think that parser generators are only used to build compilers. But in fact, programmers usually use parser generators to build translators and interpreters for domain-specific languages such as proprietary data formats, common network protocols, text processing languages, and domain-specific programming languages.

Domain-specific languages are important to software development because they represent a more natural, high fidelity, robust, and maintainable means of encoding a problem than simply writing software in a general-purpose language. For example, NASA uses domain-specific command languages for space missions to improve reliability, reduce risk, reduce cost, and increase the speed of development. Even the first Apollo guidance control computer from the 1960s used a domain-specific language that supported vector computations.

This book is the definitive guide to using the completely rebuilt ANTLR v3 and describes all features in detail, including the amazing new LL(

) parsing technology, tree construction facilities, StringTemplate code generation template engine, and sophisticated ANTLRWorks GUI development environment. You'll learn all about ANTLR grammar syntax, resolving grammar ambiguities, parser fault tolerance and error reporting, embedding actions to interpret or translate languages, building intermediate-form trees, extracting information from trees, generating source code, and how to use the ANTLR Java API.



Product details

  • Paperback: 376 pages
  • Publisher: Pragmatic Bookshelf; 1 edition (24 May 2007)
  • Language: English
  • ISBN-10: 0978739256
  • ISBN-13: 978-0978739256
  • Product Dimensions: 19 x 1.8 x 22.8 cm
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 425,327 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Terence Parr is a professor of computer science and graduate program director at the University of San Francisco, where he continues to work on his ANTLR parser generator, http://www.antlr.org. Terence has consulted for and held various technical positions at companies such as IBM, Lockheed Missiles and Space, NeXT, and Renault Automation. Terence holds a Ph.D. in computer engineering from Purdue University and was a postdoctoral fellow at the Army High-Performance Computing Research Center at the University of Minnesota, where he built parallelizing FORTRAN source-to-source translators.


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 Reviews

4 star
0
3 star
0
2 star
0
3.0 out of 5 stars
3.0 out of 5 stars
Most Helpful Customer Reviews
2 of 2 people found the following review helpful
5.0 out of 5 stars A top book for any compiler nerd! 23 Dec 2010
By Ash
Format:Paperback
If you are into compilers or in fact any kind of parser, interpreter or building DSLs this book needs to go on your bookshelf (right next to the Dragon book!).

Please be aware that it takes serious learning, study, practice, patience and time to learn how to build parsers, compilers and their ilk. This book will definitely help you along that path.

I'd even recommend this book to beginners but only if they are sufficiently interested in the topic and have the time to invest, because if you are a beginner you should be prepared for a serious learning curve trying to get to grips with parser/compiler theory.
Comment | 
Was this review helpful to you?
18 of 21 people found the following review helpful
5.0 out of 5 stars Requires study, but worth it. 13 Jun 2007
Format:Paperback|Amazon Verified Purchase
If you've got your computer science degree tucked under your belt you've probably come across Antlr and much of the content of this book will be familiar and approachable. If not, then there's a learning curve ahead of you.

Antlr is probably the best parser generator available and is free. The online documentation is Ok but bitty. Finding the bits you need and then working it all out can be hard work.

This book gathers everything into one place in a consistent and structured fashion. Parrs prose is easy to read and the book avoids starting simple and then suddenly dropping the reader straight in at the deep end after the first couple of chapters.

The main example in the book is a simple calculator that supports variable assignment (something of a staple with all parser generators) and it's enough to be getting on with, but it would have been nice to have it gradually expanded on through the book to a small language with error recovery and meaningful error messages.

Overall though, it's a book full of useful information, not just on Antlr but language design and parsing in general. It's well written and presented and should get you going with Antlr *3.0* and provide reading material for some time to come.
Comment | 
Was this review helpful to you?
1.0 out of 5 stars Neither a good reference nor a good tutorial 30 Jan 2013
By Mark
Format:Paperback|Amazon Verified Purchase
Ultimately I was unable to extract enough information from this book to accomplish the task before me. It is not organised as reference work and is not comprehensive as a tutorial. For me this felt like a collection of hints, which might have been adequate if I had had a flesh-and-blood expert on hand to fill in the gaps or explain the significance of the hints.

If you acquire this book because it has the words "definitive" and "reference" in its title you are likely to be disappointed.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
Search Customer Reviews
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
 

Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!

Create a Listmania! list

Look for similar items by category


Feedback