[antlr-interest] Clumsy rewrite syntax for expressions

Terence Parr parrt at cs.usfca.edu
Fri Apr 18 18:01:17 PDT 2008


On Apr 18, 2008, at 5:18 PM, Guntis Ozols wrote:

> Hi,
> It is strange that rewrite syntax for
>  expr (op expr)*
> is so complicated (unreadable).

expr (op^ expr)*

is the preferred method.  Later i'm doing some cool expression stuff  
to make easier.

Ter


More information about the antlr-interest mailing list