From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id TAA05973; Thu, 5 Aug 2004 19:24:25 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA06110 for ; Thu, 5 Aug 2004 19:24:23 +0200 (MET DST) Received: from pointless.epfarms.org (cpe-66-1-88-111.az.sprintbbd.net [66.1.88.111]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i75HO7mL027485 for ; Thu, 5 Aug 2004 19:24:08 +0200 Received: from 216-160-217-249.phnx.qwest.net ([216.160.217.249] helo=arcanejill.thelackthereof.org) by pointless.epfarms.org with asmtp (TLS-1.0:RSA_ARCFOUR_SHA:16) (Exim 4.34) id 1BslyH-0002MI-GM; Thu, 05 Aug 2004 10:24:05 -0700 Received: from awwaiid by arcanejill.thelackthereof.org with local (Exim 4.34) id 1Bslxl-0002zw-Gk; Thu, 05 Aug 2004 10:23:33 -0700 Date: Thu, 5 Aug 2004 10:23:33 -0700 From: Brock To: shaddin Cc: caml-list@inria.fr Subject: Re: [Caml-list] automatic documentation of ocamlyacc grammars Message-ID: <20040805172333.GM2815@thelackthereof.org> References: <200408041615.i74GFuSU014482@mint-square.mit.edu> <41116E1A.8080902@mitre.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41116E1A.8080902@mitre.org> User-Agent: Mutt/1.4i X-Virus-Scanned: By pointless.epfarms.net using Clam AntiVirus X-Virus-Status: No, clean X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pointless.epfarms.net X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=no version=2.63 X-Miltered: at nez-perce with ID 41126D37.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 wtb:99 --brock:01 parses:01 ocamldoc:01 wrote:03 anybody:03 mly:03 mly:03 ocamlyacc:05 grammar:05 manual:07 produces:08 finding:91 tue:09 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I suggest you focus on finding a yacc -> LaTeX converter, as these are more common than .mly converter specifically (and will work with minimal changes). Heres one: http://se.wtb.tue.nl/~hat/showgrammar/ --Brock On 2004.08.04.19.15, shaddin wrote: | Does anybody know of a tool that, given a .mly file, parses the file and | produces documentation of the BNF of the grammar in latex (or html, or | anything...). This would be very useful for those of us who want to | document the input grammars we use. As far as i gathered from skimming | the manual, ocamldoc doesnt do this. ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners