[antlr-interest] CommonTree -> AST conversion ?
    Gerald Rosenberg 
    gerald at certiv.net
       
    Mon Apr 12 12:40:01 PDT 2010
    
    
  
------ Original Message (Monday, April 12, 2010 8:16:53 
PM) From: Sébastien Kirche ------
Subject: [antlr-interest] CommonTree -> AST conversion ?
> Could someone correct my code or point me an example more complete that the
> code snippet that is mentioned in the wiki ?  And could you point me some code for a custom tree walker?
Just use Antlr to generate a sample tree walker.  The generated code is 
quite readable and will be an example specific to your AST.
> I have read some mentions about implementing a visitor pattern, it that the regular way ?
>    
The regular way is to just use a generated tree walker.
    
    
More information about the antlr-interest
mailing list