Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compiler Tools Pccts > Is there a bug ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 127 of 133
Post > Topic >>

Is there a bug in DOT generation in ANTLR (3.0)?

by Arto V Viitanen <arto.viitanen@[EMAIL PROTECTED] > Aug 3, 2007 at 04:40 PM

I used the example in Terence Parr's "The Definite ANTLR, Building
Domain-Specific Languages", page 191 to generate DOT from the abstract
syntax table. I directed the result DOT file to "dot -svg" and stored
the SVG file. Then I generated an HTML file that contains the program
file and its abstract syntax file.

This was quite nice, since I could read the test program and resulting
AST same time. But, if the program has string literals, dot does not
understand them (I guess it thinks they are meant as label names), so
all strings nodes are empty.

So, is the problem in ANTLR or DOT and how can I fix it?

--

Arto Viitanen
Finland
 




 1 Posts in Topic:
Is there a bug in DOT generation in ANTLR (3.0)?
Arto V Viitanen <arto.  2007-08-03 16:40:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 19:04:55 CDT 2008.