Creating AST from ParserTree

Jun 4, 2012 at 1:28 PM
Edited Jun 4, 2012 at 1:29 PM

I wrote my first grammar using Irony.

Irony, IMHO, is a pretty tool and I liked a lot using it. Congratulations, Roman, for this extraordinary piece of software..

I hope that my question has a easy answer: how can I create a traverseable AST from the Parser Tree? 

I've instantiated an AstBuilder, like I've seen on some codes, but I cannot found an AST. Maybe I'm looking at the wrong place...

I'm using 2012_03_15 version, downloaded directly from CodePlex.

TIA,

Nilo

Coordinator
Jun 6, 2012 at 3:04 AM

With AstBuilder and following standard way of doing things (like in expr evaluator), AST root node is in parser tree root node, in AstNode field