From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id JAA24777 for caml-red; Wed, 10 Jan 2001 09:27:40 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA20705 for ; Tue, 9 Jan 2001 18:33:21 +0100 (MET) Received: from e3.ny.us.ibm.com (e3.ny.us.ibm.com [32.97.182.103]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f09HXJP16895 for ; Tue, 9 Jan 2001 18:33:20 +0100 (MET) Received: from northrelay02.pok.ibm.com (northrelay02.pok.ibm.com [9.117.200.22]) by e3.ny.us.ibm.com (8.9.3/8.9.3) with ESMTP id MAA91182; Tue, 9 Jan 2001 12:32:21 -0500 Received: from RCHASA28.RCHLAND.IBM.COM (d27ml101.rchland.ibm.com [9.5.39.103]) by northrelay02.pok.ibm.com (8.8.8m3/NCO v4.95) with ESMTP id MAA92932; Tue, 9 Jan 2001 12:30:27 -0500 Importance: Normal Subject: Re: Module hierarchies To: John Max Skaller Cc: Michael Hicks , Charles Martin , caml-list@inria.fr From: "Daniel Ortmann" Date: Tue, 9 Jan 2001 11:34:44 -0600 Message-ID: X-MIMETrack: Serialize by Router on d27ml101/27/M/IBM(Release 5.0.5 |September 22, 2000) at 01/09/2001 11:34:51 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: weis@pauillac.inria.fr >>> I am wondering how a large OCaml project might be structured, >>> specifically in terms of directories and files. > My solution is simple enough: I use a literate programming tool > (interscript, see my sig below) to _generate_ all the Ocaml files in a > scratch directory. Unfortunately, since we emacs cyborgs have already been assimilated, we must interface through a literate-caml-mode. Where? :-( > So the structure of the program is defined in terms of the LP source > files, which need to be related to the generated files. (It usually > is though :-) > The only problem I have with this is that ocamllex/yacc do not respect > #line directives. > -- > John (Max) Skaller, mailto:skaller@maxtal.com.au > 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 > checkout Vyper http://Vyper.sourceforge.net > download Interscript http://Interscript.sourceforge.net -- Daniel "3rd of 5" Ortmann, IBM Circuit Technology, Rochester, MN