[antlr-interest] generating root nodes in tree parser
Jim Idle
jimi at temporal-wave.com
Wed Jul 13 18:46:05 PDT 2005
Ah cowards - as soon as I get past a few lexer errors, I'm sticking it in to production ;-). Hmm, maybe need syntactic predicates first... and a few bug fixes, .. and a bit better tolerance of broken input.. but apart from that, what have the Romans ever done for us?
Jim
________________________________
From: antlr-interest-bounces at antlr.org on behalf of Martin Probst
Sent: Tue 7/12/2005 9:50 AM
To: Terence Parr
Cc: ANTLR Interest
Subject: Re: [antlr-interest] generating root nodes in tree parser
> And in ANTLR v3, you can say:
>
> functionCall : ident paramlist -> ^(CALL["function call"] ident
> paramlist) ;
>
> :)
But that is of course experimental-alpha-non-stable-don't use for
production as of yet *ducks & runs*
Martin
More information about the antlr-interest
mailing list