|
From: | tys lefering |
Subject: | xml report graph output xsl |
Date: | Tue, 16 Mar 2010 04:12:38 +0100 |
User-agent: | SquirrelMail/1.4.18 |
Hi, Created xml2vcg.xsl from translating xml2dot.xsl as it is in bison-2.4.1b data/xslt directory. Created a xml report file using: bison --xml=output.xml parser.y Then using: xsltproc -o output.vcg xml2vcg.xsl output.xml Also added few colors: solid edge lines green for transition type="shift" dashed edge lines blue for transition type="goto" dotted edge lines red for transition type="error" Attached the xml2vcg.xsl file with the vcg routines added and dot parts commented out. Also the graph output file and png image of the graph made from the xml report of calc++-parser.yy Maybe something for bison or just in case someone wants other graph type output. Greetings, Tys Lefering
xml2vcg.xsl
Description: application/xml
xsl.diff
Description: Text Data
output.vcg
Description: Binary data
bisonxslvcg.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |