[antlr-interest] unary minus

Anders Hessellund anders.hessellund at gmail.com
Mon Mar 9 03:24:46 PDT 2009


Thanks!

This is very useful indeed!

-- Anders

2009/3/8 Michael Bedward <michael.bedward at gmail.com>

> Hi Anders,
>
> I have a fairly simpler grammar that has unary minus working ok.
> Perhaps it might provide some hints...
>
>
> http://code.google.com/p/jai-tools/source/browse/trunk/jiffle/src/main/antlr/jaitools/jiffle/parser/Jiffle.g
>
> Look for the unary_expr rule.  I doubt if how I do it is best practice
> but it works.
>
> Michael
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>



-- 
Anders Hessellund
www.itu.dk/people/hessellund/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090309/fd482ac0/attachment.html 


More information about the antlr-interest mailing list