Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!brl-adm!adm!jberets@vax.bbn.com From: jberets@vax.bbn.com Newsgroups: net.sources Subject: Sources sought Message-ID: <4926@brl-adm.ARPA> Date: Thu, 12-Mar-87 15:46:29 EST Article-I.D.: brl-adm.4926 Posted: Thu Mar 12 15:46:29 1987 Date-Received: Fri, 13-Mar-87 22:35:49 EST Sender: news@brl-adm.ARPA Lines: 22 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