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

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

Hi,


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?




TIA

About | Sitemap | Contact