[net.sources] Sources sought

jberets@vax.bbn.com (03/12/87)

In trying to decode a language's syntax, I find the most easy to
understand mechanism is the bubble-and-arrow diagram (maybe called
Jensen-Wirth notation?) found in (for example) Wirth's "Programming in
Modula-2" and Grogono's "Programming in Pascal."

I'm looking for a tool (or maybe two tools) that will help produce
documentation.  In particular, I'd like to be able to take a yacc
grammar, and somehow get it converted to a printable J-W diagram.
There are probably two problems here:  converting the yacc grammar to
some intermediate form (perhaps Extended BNF), and converted this
intermediate form to something understandable by (say) troff or a
Postscript device.

Any pointers to such tools would be most appreciated.  Please mail
directly to me, as I am not on the mailing list.  Thanks,

Jim Berets
BBN Laboratories
(617) 497-2593

jberets@vax.bbn.com
...!harvard!vax.bbn.com!jberets