[antlr-interest] Re: Static [semantic] analysis and TreeParsers?

lgcraymer lgc at mail1.jpl.nasa.gov
Fri Oct 10 01:58:37 PDT 2003


--- In antlr-interest at yahoogroups.com, "micheal_jor" <open.zone at v...> 
wrote:
> Is it possible to build program analyses such as reaching defs as

Yes, although specialized AST classes are needed to construct trees 
that can be transformed to analysis graphs by adding cross-links.

> TreeParsers?. Has anyone built examples of such a beast?

Ter's LL(k) analysis code (pre-ANTLR3) may end up as a good example.  
I suspect that tree walking is not sufficient, and that at least some 
code is needed for navigating graphs.

--Loring


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list