[antlr-interest] some v4 examples

Sam Barnett-Cormack s.barnett-cormack at lancaster.ac.uk
Mon Jan 2 12:14:09 PST 2012


Working directly with parse trees would be more threatening to me, if it 
weren't for left-recursion being allowed/working now. That removes a lot 
of meaningless parse structure that I ended up with on my last big project.

Sam

On 02/01/2012 07:14, Michael Bedward wrote:
> I've written a lot of R scripts so was particularly keen to see the v4
> R grammar. I must say that it seems so straightforward that it's
> almost creepy after being used to thinking of left recursion as a
> mortal sin. Getting used to this, together with what sounds like the
> effective deprecation of ASTs (as far as I understand that from recent
> discussions), I can see quite a bit of unlearning is going to be
> required.
>
> Not a complaint - just an observation.
>
> Michael
>
> On 2 January 2012 07:47, Terence Parr<parrt at cs.usfca.edu>  wrote:
>> http://www.antlr.org/wiki/display/ANTLR4/Examples
>>
>> List: http://www.antlr.org/mailman/listinfo/antlr-interest
>> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address


More information about the antlr-interest mailing list