help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VCG visualization


From: Paulo J. Matos
Subject: Re: VCG visualization
Date: Tue, 29 Apr 2008 11:20:44 +0100

On Sat, Apr 26, 2008 at 10:33 PM, Satya <address@hidden> wrote:
> The current CVS Bison will generate dot files instead of VCG files. This
> change was made some time ago
> (http://lists.gnu.org/archive/html/bison-patches/2006-10/msg00047.html), but
> has not yet found it's way into a release version.
>

Thanks a lot... this is definitely a nice feature. dot is more
mainstream than vcg. :)

> Satya
>
>
>
> On Sat, Apr 26, 2008 at 12:48 PM, Aaron Jackson <address@hidden>
> wrote:
> >
> >
> >
> >
> >
> > On Apr 26, 2008, at 7:27 AM, Derek M Jones wrote:
> >
> >
> > > Paulo,
> > >
> > >
> > > >
> > > > >
> > > > > > I am on a Mac and I would like to know if anybody has any
> suggestion
> > > > > > on a free software to visualize vcg files resulting from bison
> output
> > > > > > or convert them to a bitmap file.
> > > > > >
> > > > > >
> > > > >  I find graphviz useful for this kind of thing
> > > > >  http://www.graphviz.org/
> > > > >
> > > > >
> > > > Hello Derek,
> > > > I do know and use graphviz regularly for my graph work but I thought
> > > > it only worked with the dot format. Is there a way to convert VCG to
> > > > dot or is there a way to open VCG natively which I am not aware of?
> > > >
> > >
> > > It has always struck me that it ought to be possible to write an
> > > awk script to create a workable translation, but I have never tried
> > > to write one.
> > >
> > > There do seem to be some tools out there (never tried any of them)
> > > http://rw4.cs.uni-sb.de/~sander/html/gsvcg1.html
> > >
> >
> > I found yaccviso http://lo-res.org/~aaron/yaccviso/ .  It looks directly
> at the .y file and generates a dot file.  It won't compile on your mac
> without a small change:
> >
> > ---------------------8<---------------------------------------------
> > --- malloc.h.orig       2008-04-26 15:43:45.000000000 -0400
> > +++ malloc.h    2008-04-26 15:44:00.000000000 -0400
> > @@ -26,7 +26,7 @@
> >  * descr.:
> >  */
> >
> > -#include <malloc.h>
> > +#include <stdlib.h>
> >  #include "global.h"
> >
> >  typedef struct memmap memmap;
> > -----------------------8<-------------------------------------------
> >
> > Aaron
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > address@hidden http://lists.gnu.org/mailman/listinfo/help-bison
> >
>
>



-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK
Sponsor ECS runners - Action against Hunger:
http://www.justgiving.com/ecsrunslikethewind




reply via email to

[Prev in Thread] Current Thread [Next in Thread]