[antlr-interest] Question about Tree grammar

Johannes Luber jaluber at gmx.de
Fri Sep 19 07:50:07 PDT 2008


方宇晨 schrieb:
> Hi, Everyone.
>   I am new to compiler design. I find Antlr is really a great software. I want to know whether it is possible to do all of the semantic analyze phrase( type checking, type inference, array range check..) in the Antlr's Tree Grammar.

It is possible. You may want to transform the tree to resolve
ambiguities for a later phase, too.

Johannes
> _________________________________________________________________
> 一边聊天一边快速搜索,并把结果共享给好友,立刻试试!
> http://im.live.cn/Share/18.htm
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
> 



More information about the antlr-interest mailing list