Google Groups Home
Help | Sign in
Is there a bug in DOT generation in ANTLR (3.0)?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Arto V Viitanen  
View profile
 More options Aug 3 2007, 12:40 pm
Newsgroups: comp.compilers, comp.compilers.tools.pccts
From: Arto V Viitanen <arto.viita...@pp4.inet.fi>
Date: Fri, 03 Aug 2007 16:40:22 GMT
Local: Fri, Aug 3 2007 12:40 pm
Subject: Is there a bug in DOT generation in ANTLR (3.0)?
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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google