[antlr-interest] Semantical problem with Antlr

Serafettin Senturk serafettin_sentuerk at intergral.com
Tue Jun 7 05:32:08 PDT 2005


 Hello,

 I am trying to convert from typeless language to a typeful language like
the following:

 from  (a = 3+5;)  to  ==>   (int a = 3+5;)

 I know we can get the result of such an expression. But is it possible with
Antlr to evaluate the result semantically and according to the result put
the appropriate data type for declaration? Does anybody have an idea about
this semantical problem of Antlr?

 Best Regards,
 Serafettin






More information about the antlr-interest mailing list