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 RAA00835; Thu, 28 Aug 2003 17:08:15 +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 RAA31310 for ; Thu, 28 Aug 2003 17:08:14 +0200 (MET DST) Received: from cat.nyu.edu (CAT.NYU.EDU [128.122.47.28]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h7SF8DT08704 for ; Thu, 28 Aug 2003 17:08:13 +0200 (MET DST) Received: from tomlaptop1 (gort.math.pitt.edu [136.142.124.24]) by cat.nyu.edu (Postfix) with ESMTP id 655D019D6A for ; Thu, 28 Aug 2003 11:08:03 -0400 (EDT) From: "Sean McLaughlin" To: Subject: [Caml-list] ocaml #load Date: Thu, 28 Aug 2003 11:08:02 -0400 Message-ID: <000001c36d76$2ffd6510$187c8e88@tomlaptop1> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01C36D54.A8EBC510" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; sean:99 nyu:99 nuisance:01 ocamldep:01 ocamldep:01 sean:99 nuisance:01 cmo:01 cmo:01 ocaml:01 ocaml:01 makefile:02 makefile:02 loads:03 loads:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is a multi-part message in MIME format. ------=_NextPart_000_0001_01C36D54.A8EBC510 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I'm building a large program in ocaml that I'll want to run using the interpreter. It is a nuisance having to load all the files in the correct order. There is the ocamldep tool for compiling,but I can't find a similar tool or function for loading into the top level. Is there such a tool that, say, when I type ' #load 'd.cmo', and d depends on c, c on b, b on a, somehow loads a then b then c then d? I can imagine a simple tool that runs ocamldep and repeatedly greps the makefile and adds lines like "#load d.cmo" to a text file until a fixed point is reached. Thanks, Sean ------=_NextPart_000_0001_01C36D54.A8EBC510 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message
Hello,
 
  = I'm building=20 a large program in ocaml that I'll want to run using the = interpreter. =20 It is a nuisance having to load all the files in the correct = order.  There=20 is the ocamldep tool for compiling,but I can't find a similar tool = or=20 function for loading into the top level.   Is there such = a tool=20 that, say, when I type ' #load 'd.cmo', and d depends on c, c on b, = b on a,=20 somehow loads a then b then c then d?  I can imagine a simple tool = that=20 runs ocamldep and repeatedly greps the makefile and adds lines like = "#load=20 d.cmo" to a text file until a fixed point is reached.  =
 
 
Thanks,
 
Sean
------=_NextPart_000_0001_01C36D54.A8EBC510-- ------------------- 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