mky.sh 506 B

12345678910111213141516171819202122232425
  1. #!/bin/sh -x
  2. rm dot.tab.c
  3. rm dot.tab.h
  4. rm dot.output
  5. rm dot.xml
  6. echo "generating parser"
  7. bison -d --graph=dot.gv -x dot.y
  8. cat dot.xml |xsltproc xml2dot.xsl - >dot2.gv
  9. cat dot.xml |xsltproc xml2text.xsl - >dot2.txt
  10. cat dot.xml |xsltproc xml2gml.xsl - >dot2.gml
  11. cat dot.xml |xsltproc xml2xhtml.xsl - >dot2.html
  12. echo "generating dot html parser"
  13. bison -d --graph=dphl.gv dphl.y
  14. echo "debian 10 has bison version 3.3.2"
  15. echo "debian 10 has bison version 3.7.5"
  16. echo "fedora 34 has bison version 3.7.4"