[antlr-interest] posted ANTLR metagrammar, tree builder, and tree walker/printer to antlr.org

Terence Parr parrt at cs.usfca.edu
Tue Aug 19 15:05:50 PDT 2003

On Tuesday, August 19, 2003, at 02:24 PM, Matt Benson wrote:

> Will the existing code generation be re-implemented by
> antlr.g TreeParsers?

Not totally sure, but rest assured I'm thinking very hard about how to 
make this really easy.

>   Seems like an ideal place for
> new languages to hook in... though there might be some
> reinventing the wheel happening in that case.  It
> seems like what is often called for is a way to hook
> custom actions into an existing grammar.  Has any
> thought been given to whether and how this might be
> possible in ANTLR 3, short of copying the existing
> grammar's text and inserting actions?

Absolutely...the idea believe it or not is really the RCS branch / 
push-forward type of concepts...integrated into a workbench, this will 
be nice.

>   Might this
> somehow tie in with the idea of generic ANTLR action
> code to be implemented in a target language along with
> the rest of the grammar, as outlined in the cabal
> notes?

Yep, we talked about all this at the cabal :)



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

More information about the antlr-interest mailing list