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

Jim Idle jimi at temporal-wave.com
Thu Aug 19 16:05:44 PDT 2010


Good - thanks for replying to say so as this will then be useful in
http://antlr.markmail.org 

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of Thomas Nilsson
> Sent: Thursday, August 19, 2010 2:23 PM
> To: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] DFA display in ANTLRWorks not working on
> MacOSX
> 
> Thanks for the suggestions. For me not even 2.26.3 did work, GraphViz
> popped the same message but this version also prompted me for a file to
> open.
> 
> So I followed Jim Idles suggestion and pointed ANTLRWorks to
> /usr/local/bin/dot and everything worked ok! (Well, except my grammar ;-)
> 
> 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
> 
> 
> 19 aug 2010 kl. 22.26 skrev Alan Condit:
> 
> > Thomas,
> >
> > It works fine for me, but I am using Graphviz 2.26.3. You can get it
from
> here
> <http://www.graphviz.org/pub/graphviz/stable/macos/snowleopard/graph
> viz-2.26.3.pkg>.
> >
> > Alan
> > ---
> >
> > Alan Condit
> > 1085 Tierra Ct.
> > Woodburn, OR 97071
> >
> > Email -- acondit at ipns.com
> > Home-Office (503) 982-0906
> >
> > On Aug 19, 2010, at 12:00 PM, antlr-interest-request at antlr.org wrote:
> >
> >> From: Thomas Nilsson <thomas.nilsson at responsive.se>
> >> Date: August 19, 2010 10:14:00 AM PDT
> >> To: antlr-interest at antlr.org
> >> Subject: [antlr-interest] DFA display in ANTLRWorks not working on
> MacOSX
> >>
> >>
> >> 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
> >>
> >
> >
> > List: http://www.antlr.org/mailman/listinfo/antlr-interest
> > Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address
> 
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address



More information about the antlr-interest mailing list