[graphviz-interest] Parsing DOT file with Perl + C

Ron Savage <[email protected]> Sat, 29 Nov 2014 20:05:55 +1100
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
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

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.

-- 
Ron Savage - savage.net.au
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest