[antlr-interest] new tree question

向秦贤 fyaoxy at gmail.com
Thu Aug 23 20:04:58 PDT 2007


Hi,
you can test with gunit test, just use -> style.
for example
"expr relexpr expr...." ->()
gunit can show that result to you.
BTW, if you not get right result, maybe you can just svn my on project
eclipse folder, run ant gunit gunit2
Most advice, use gunit for grammar test

2007/8/24, Monty Zukowski <monty at codetransform.com>:
>
> logicExpr
>     : relExpr
>       ( llogicOperator^
>         relExpr
>       )*
>     ;
>
>
> I can't quite get my head around how to write this in the new tree
> rewrite-> syntax.  I realize that the above will work, but I'm curious
> to know how it would look in the new syntax.
>
> Monty
>



-- 
致敬
向秦贤
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070824/0e7f6e0c/attachment.html 


More information about the antlr-interest mailing list