Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,023 of 2,753    |
|    Arto V Viitanen to All    |
|    Is there a bug in DOT generation in ANTL    |
|    03 Aug 07 16:40:22    |
      XPost: comp.compilers.tools.pccts       From: arto.viitanen@pp4.inet.fi              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              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca