[antlr-interest] Controlling a TreeParser

Terence Parr parrt at cs.usfca.edu
Tue Mar 6 14:07:32 PST 2007


On Mar 6, 2007, at 2:02 PM, Kevin Ruland wrote:

> Hi all.
>
> Suppose I've written an antlr3 grammar which produces an AST and  
> I've written the corresponding tree parser.  Are there any hooks  
> available in the generated tree parser to support development of a  
> debugger for my language?  I need to control execution of the tree  
> grammar at a very fine level of detail including stepped execution,  
> breakpoints, and even serialization of execution state and  
> corresponding deserialization and resuming execution.
>
> Any ideas or suggestions?

The debug interface is available, but it will send rule information  
not info on your programming language.

Ter



More information about the antlr-interest mailing list