[antlr-interest] Petition to Terence Parr! WAS: Re: antlr 3 - make parser event driven ?

Matt Benson gudnabrsam at yahoo.com
Wed Aug 27 13:39:04 PDT 2003


I thought the only issue was to make it possible to
override create(String) by opening it up to public
access.  You don't need to change the actual
functionality of stock ANTLR, do you, Oliver?

-Matt

--- parrt2000 <parrt at cs.usfca.edu> wrote:
> Damn yahoogroups...damn!  Don't see my response to
> this...did you get it Oliver?
> 
> Testing...1 2 3 testing...
> 
> summary: don't we have a backward compatibility
> issue if I change functionality of 
> create(String className)?
> 
> Ter
> --- In antlr-interest at yahoogroups.com, "Oliver
> Zeigermann" <oliver at z...> wrote:
> > --- In antlr-interest at yahoogroups.com, Matt Benson
> <gudnabrsam at y...> 
> > wrote:
> > > Yep, XPA is cool.  Turns out I wasn't able to
> use it
> > > due to CORPORATE STANDARDS so the changes I made
> were
> > > unnecessary.  You should petition Terence to
> give you
> > > the access changes you need for XPA so you can
> use a
> > > standard Antlr distribution, you know?
> > > 
> > > -Matt
> > > 
> > 
> > OK, Matt, I tried before so this is my last
> effort.
> > 
> > This goes to Terence Parr:
> > 
> > This is my petition to change a single method in
> ASTFactory in the 
> > standard ANTLR distribution in order to make it
> work unchanged with 
> > my XPA project.
> > 
> > In class ASTFactory change method create(String)
> from protected to 
> > public:
> > 
> > was:
> > 
> > protected AST create(String className)
> > 
> > must be for XPA:
> > 
> > public AST create(String text)
> > 
> > The semantics of create(String): Create an AST
> that has its type 
> > implied by the given text. In XPA you can provide
> an XML fragement 
> > here that generates an XMLAST.
> > 
> > I know the semantics have been to create an AST of
> type className, 
> > but this can still be done by: 
> > 
> > protected AST create(Class c)
> > 
> > So, basically, that's it.
> > 
> > What misses for a real official petition is some
> flattery. Ehrr, 
> > well, I am a bit clumsy in the field of flattery.
> Anything I can do 
> > to flatter you a little bit, Terence?
> > 
> > ;)
> > 
> > Oliver
> 
> 
>  
> 
> 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