Re: [graphviz-interest] Parsing DOT file with Perl + C
Pander <[email protected]> Sat, 29 Nov 2014 14:47:43 +0100
| Newsgroups | gmane.comp.video.graphviz |
|---|---|
| Message-ID | <[email protected]> |
On 11/29/2014 10:05 AM, Ron Savage wrote: > Hi > > I've released GraphViz2::Marpa, V 2.01, my Marpa-based parser for DOT > files. > > It's shipped with 91 test files I created, and 264 copied from V 2.38 of > GraphViz2. Of my tests, about 8 are deliberate fails. All of the > Graphviz files pass. > > See (code): https://metacpan.org/release/GraphViz2-Marpa > > And (demo for my files): > http://savage.net.au/Perl-modules/html/graphviz2.marpa/index.html Nice. Do you want to ship this with Graphviz eventually? > > The huge page of demo images from the Graphviz distro files can be > reached from the demo file page above. > > Testing consists of: > o Use dot to convert *.gv into *.svg. > o Use GraphViz2::Marpa to parse *.gv. > o Render the parsed file back into *.gv (this is called round-tripping). > o Use dot to convert these rendered *.gv files into *.svg. > o Use diff to compare dot's output from the original *.gv with its > output from my rendered *.gv. > _______________________________________________ [email protected] http://lists.research.att.com/mailman/listinfo/graphviz-interest