Use the built in code to produce the .dot file, then use Graphviz to
produce a .png and then you can see what is going wrong very easily. I
have posted the code to do this to the list lots of times so you should
find it on antlr.markmail.org

Jim

> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of The Researcher
> Sent: Tuesday, April 12, 2011 12:38 PM
> To: [email protected]
> Subject: [antlr-interest] Validating AST
>
> For some AST transformations I have to resort to writing code. A recent
> bug of mine was due to incorrectly building a AST. Is there any code to
> validate the structure of an AST?
>
> Thanks, Eric
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to