[antlr-interest] Re: Tree Parser and removing nodes.
lgcraymer
lgc at mail1.jpl.nasa.gov
Fri Aug 13 13:46:33 PDT 2004
--- In antlr-interest at yahoogroups.com, Monty Zukowski <monty at c...> wrote:
> On Aug 13, 2004, at 2:10 AM, lgcraymer wrote:
>
> > --- In antlr-interest at yahoogroups.com, Monty Zukowski <monty at c...>
> > wrote:
> >> a: #(A (B | c));
> >> c: #(C! (B)*);
> >
> > Believe it or not, 2.7.1 would convert c to
> > ( #( B (B)* ) )?
> >
> > 2.7.2 will throw an exception.
> >
> Will 2.7.4 also, I assume?
Yes. It is fixed in my code base so that your original answer will be
correct for 2.8--whenever the bureaucracy here finally gives me the
go-ahead to release. It is about time for me to ping them again--I
made my request back in March!
--Loring
>
> Maybe this:
>
> a: #(A (B | c));
> c!: #(C (b:B {##=##(null, ##, b);})*
>
> Monty
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list