[antlr-interest] Help with infix expression evaluator grammar

Jim Idle jimi at temporal-wave.com
Thu Apr 9 08:43:46 PDT 2009


Christopher Schultz wrote:
> ANTLR folks,
>
>
> It seems like the most logical fix is to create a new top-level
> production that just says:
>
>  return=expr (EOF!)
>
> ...and remove the EOF entirely from my 'expr' production.
>   
Yes - that is the correct way to handle that.

Jim


More information about the antlr-interest mailing list