[antlr-interest] AntlrDT 0.6.0 Released

Gerald Rosenberg gerald at certiv.net
Thu Jan 8 23:03:29 PST 2009


Just released the latest version of AntlrDT.

1) Improved the launcher.  Allows any grammar to be automatically 
built and launched with either a string or file as input to any 
chosen rule in the parser.  The parser runs in its own VM so all 
predicates and actions are live.  Normal logging output is routed 
back to the Eclipse console.

2) Added a LaunchUnit view that allows suites of launch 
configurations to be collected, organized, and saved.  Just 
double-click on any launch configuration and AntlrDT will load and run it.

3) Added a RulesView -- a graphic visualization of the actual 
execution path through the parser given a specific entry point rule 
and input text.  A small example is shown here 
http://www.certiv.net/projects/antlrdt.html#screenshot  Each launch 
configuration has a check box to enable graph generation.  The intent 
is to aid in understanding why a parser does not behave as expected, 
aka, the Yosemite Sam problem.  Double clicking on most nodes will 
highlight the corresponding rule, subrule, decision point, and alt of 
the grammar or the look-ahead, consumed, or hidden token chunk of the 
input text.  Hovering over the nodes will give context information in 
an infopop.

Enjoy -- and let me know of any issues you may run into.
Gerald
----
Gerald B. Rosenberg
Certiv Analytics

www.certiv.net



More information about the antlr-interest mailing list