[antlr-interest] ANTLRworks

Jim Idle jimi at temporal-wave.com
Fri Dec 11 08:19:04 PST 2009


Tree grammars must be debugged remotely. Set up your real project (use Maven if you can) then generate the tree parser with the -debug option. When you run your program it will appear to hang. Now switch to ANTLRWorks, load the tree grammar, then debug remotely rather than locally. ANTLRWorks will connect to your program and debug it live.

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of John851
> Sent: Friday, December 11, 2009 6:45 AM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] ANTLRworks
> 
> Hello,
> 
> I write my parser and lexer in ANTLRworks. And I debug it in
> ANTLRworks.
> It's very convinient.
> 
> Now I'm developing code generator with StringTemplate group file.
> I want to debug my tree grammar with its StringTemplate group in
> ANTLRworks. Is it possible?
> 
> I don't understand clearly how to tell ANTLRworks to use my
> StringTemplate group file when I debug my tree grammar parser.
> 
> John
> 
> 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