On Sat, Apr 26, 2008 at 10:33 PM, Satya <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > 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 > > > > > > > > > > > > > > _______________________________________________ > > help-bison@gnu.org 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 _______________________________________________ help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison