Is there a way to set precedence in ANTLR
0 posts in topic
Flat View  Flat View

Posted By:   Hans_Ng
Posted On:   Wednesday, December 3, 2003 07:23 AM


I was trying to use ANTLR to generate a parser. However, i do not seem to be able to find a explicit way to set precedence. For example, * before +. Is there any command to do this? Or is is the precedence weaved into the BNF the only way to go?


About | Sitemap | Contact