[antlr-interest] ANTLR V3 parser syntax for ~

Terence Parr parrt at cs.usfca.edu
Mon Jun 26 16:18:41 PDT 2006


On Jun 26, 2006, at 2:22 PM, Ari Steinberg wrote:

> No dice, it's still not one bit happy.  Here's a copy of what I've got
> so far, maybe you'll see something I'm not.

Crap...you found some the few things on the todo list.  Bangs on  
wildcard and sets....damn!  Probably easy to fix, but is it ok if I  
go out with beta and fix for 3.0 final?

For the value rlue, try this for now:

value:
         ( ~STATEMENT_END {$value.setType(VALUE);} )+
;

Ter


More information about the antlr-interest mailing list