[antlr-interest] some v4 examples

Terence Parr parrt at cs.usfca.edu
Mon Jan 2 09:31:28 PST 2012


On Jan 1, 2012, at 11:14 PM, 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.

i know.Isn't it weird?

> 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.

The good news is that you will unload a huge albatross around your neck and then not have to learn much at all to use the new listeners. It's just simple Java code, or whatever your target will be.

Ter


More information about the antlr-interest mailing list