Sources sought
jberets at vax.bbn.com
jberets at vax.bbn.com
Fri Mar 13 06:46:29 AEST 1987
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 at vax.bbn.com
...!harvard!vax.bbn.com!jberets
More information about the Comp.sources.unix
mailing list