[antlr-interest] Validating AST

Jim Idle jimi at temporal-wave.com
Tue Apr 12 12:56:36 PDT 2011


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: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of The Researcher
> Sent: Tuesday, April 12, 2011 12:38 PM
> To: antlr-interest at antlr.org
> 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


More information about the antlr-interest mailing list