[antlr-interest] DFA display in ANTLRWorks not working on MacOSX

Thomas Nilsson thomas.nilsson at responsive.se
Thu Aug 19 10:14:00 PDT 2010


I am in the process of converting an old-ish LR-grammar to work with ANTLRs LL-principles which is an interesting, but educational, journey.

I'm running on MacOSX and looking at my single remaining non-LL(*) decision and was hoping to get some help from the DFA. unfortunatley displaying it does not work. When asked to produce the DFA, GraphViz pops up a message like "DOTxxxx.out could not be opened. GraphViz cannot open this kind of file." The message is then repeated for the ".in"-file.

ANTLRWorks preferences seems to be pointing in the right direction, as some other graphs are produced alright. (Although I do not know if ANTLRWorks uses GraphViz for that...)

I'm using latest ANTLRWorks (bundled, but has also tried the jar), and have latest GraphViz (2.20.3 from 2008) for MacOSX.

Anyone have any clue, or hint on what to try?

Thomas Nilsson, CTO, Agile Mentor
Responsive Development Technologies AB
Web: http://www.responsive.se
Email: thomas.nilsson at responsive.se
Phone: +46 70 561 75 41
Blog: http://www.responsive.se/thomas



More information about the antlr-interest mailing list