[antlr-interest] More DOT Questions

Terence Parr parrt at cs.usfca.edu
Fri Jun 29 15:29:52 PDT 2007


On Jun 29, 2007, at 3:23 PM, Randall R Schulz wrote:
> That's too bad. DOT can't do what's required?
>
> Anyway, in the long run (after the grammar is developed, stable and
> being used) I'm more interested in visualizing ASTs. I really liked
> your example on page 191 of TDAR and included it in the command-line
> driver I wrote for the parser I'm working on now.

pg 188 in printed book?  That was done with DOTTreeGenerator not  
ANTLRWorks.  ANTLRWorks builds its own ASTs.

> But as I mentioned, the result it produces (when you render the
> resulting DOT file) is quite different from that produced when
> visualizing the AST in the ANTLRWorks debugger. I'd like to be able to
> replicate the latter.

Oh, well, you'll have to look at AW source then...no dot involved.

Ter


More information about the antlr-interest mailing list