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

Matt Benson gudnabrsam at yahoo.com
Tue Aug 19 14:24:45 PDT 2003


Will the existing code generation be re-implemented by
antlr.g TreeParsers?  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?  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?

-Matt

--- Terence Parr <parrt at cs.usfca.edu> wrote:
> 
> On Tuesday, August 19, 2003, at 01:48 PM, Ruslan
> Zasukhin wrote:
> 
> > on 8/19/03 23:03, Terence Parr at
> parrt at cs.usfca.edu wrote:
> > Sorry for stupid question.
> > What we can do with this ?
> >
> > This is pre-view of 3.0 ?
> > Or we need use this to update 2.7.2 ?
> 
> This is a separate "tool" if you want to read in
> ANTLR grammars and, 
> for example, print them out w/o actions.  It's
> really a starting point 
> for people wanting to manipulate or display antlr
> grammars.  It is part 
> of my new ANTLR 3 experimental beast.  I need to
> read in grammars so I 
> can analyze them. :)
> 
> Ter
> --
> Professor Comp. Sci., University of San Francisco
> Creator, ANTLR Parser Generator,
> http://www.antlr.org
> Co-founder, http://www.jguru.com
> Co-founder, http://www.knowspam.net enjoy email
> again!
> Co-founder, http://www.peerscope.com pure link
> sharing
> 
> 
> 
> 
>  
> 
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/ 
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

 

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




More information about the antlr-interest mailing list