[Rets-dev] [Fwd: [Bookshelf] ANTLR for Domain Specific Languages]
Paula OBrien
paula.obrien at sbcglobal.net
Sat Feb 10 20:13:32 CST 2007
We also used ANTLR as the grammar parser to build the Java RQL implementation for the RETS2 reference implementation server. It was a relatively easy process!
The book mentioned below looks quite interesting.
"Keith T. Garner" <kgarner at crt.realtors.org> wrote: The attached may be of interest to anyone looking at ANTLR as a grammar parser
in their RQL implementations.
As you may remember, the RQL C# example that Dave tossed together was built
using ANTLR.
Keith
--
Keith T. Garner - Managing Director - Center for REALTOR® Technology
kgarner at realtors.org - 312-329-3294 - http://blog.realtors.org/crt
To: announce at lists.pragprog.com
From: Andrew Hunt <andy at pragmaticbookshelf.com>
Date: Thu, 8 Feb 2007 12:27:36 -0500
Subject: [Bookshelf] ANTLR for Domain Specific Languages
We're pleased to announce that "The Definitive ANTLR Reference:
Building Domain-Specific Languages"
by ANTLR author Terence Parr is now available in BETA.
For details, please visit http://pragmaticprogrammer.com/titles/tpantlr
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.
Available now from http://pragmaticprogrammer.com/titles/tpantlr/
If you haven't participated in our Beta book program before, please
read the FAQ at http://www.pragmaticprogrammer.com/starter_kit/faqs/
beta_faq.html
--------------------
Coming soon:
* Rails for Java Developers
* Textmate: Power Editing for the Mac
* Release It! Design and Deploy Production-Ready Software
Recently released:
* GIS for Web Developers: Adding 'Where' to Your Web Applications (Beta)
* Agile Web Development with Rails, 2nd Edition
* Agile Retrospectives: Making Good Teams Great - #3 Editor's Pick on
Amazon.com!
* Google Web Toolkit: Taking the Pain out of Ajax
--------------------
Enjoy, and thanks for your continued support!
Andy and Dave
www.PragmaticProgrammer.com
_______________________________________________
Pragmatic Bookshelf Announcements
http://lists.pragprog.com/mailman/listinfo/announce
_______________________________________________
Rets-dev mailing list
Rets-dev at rets.org
http://lists.rets.org/mailman/listinfo/rets-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rets.org/pipermail/rets-dev/attachments/20070210/ce09c263/attachment.html
More information about the Rets-dev
mailing list