Convert a yacc grammar to syntax diagrams
