ANTLR grammar from bison

Posted by Iulian Serbanoiu on Stack Overflow See other posts from Stack Overflow or by Iulian Serbanoiu
Published on 2010-03-31T13:21:52Z Indexed on 2010/03/31 13:43 UTC
Read the original article Hit count: 609

Filed under:
|
|

Hello,

I'm trying to translate a grammar from bison to ANTLR. The grammar itself is pretty simple in bison but I cannot find a simple way for doing this.

Grammar in bison:

expr = expr or expr | expr and expr | (expr)

Any hints/links/pointers are welcome.

Thanks, Iulian

© Stack Overflow or respective owner

Related posts about antlr

Related posts about bison