[antlr-interest] wildcard in tree grammar

Terence Parr parrt at cs.usfca.edu
Mon Dec 1 14:28:44 PST 2008


On Dec 1, 2008, at 11:51 AM, Gavin Lambert wrote:
> If ID on its own can match a tree of ^(FOO ID), then that's a bug.

not in a tree pattern matching (filter=true) mode.

>> If you don't care about structure, one could argue why you're
> using
>> a grammar to do that ;)
>
> You might not care *sometimes*, in *some contexts*.  But you care
> a lot about other contexts.

Ok, well, I'll look at it, but I haven't seen a real example yet :)

Ter


More information about the antlr-interest mailing list