caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Sean McLaughlin" <seanmcl@cs.nyu.edu>
To: <caml-list@inria.fr>
Subject: [Caml-list] ocaml #load
Date: Thu, 28 Aug 2003 11:08:02 -0400	[thread overview]
Message-ID: <000001c36d76$2ffd6510$187c8e88@tomlaptop1> (raw)

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1653 bytes --]

             reply	other threads:[~2003-08-28 15:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-28 15:08 Sean McLaughlin [this message]
2003-08-28 15:25 ` Jean-Christophe Filliatre
2003-08-30 15:29   ` Dimitri Ara
2003-08-28 15:32 ` Nicolas Cannasse
2003-09-03 10:40   ` Eray Ozkural

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001c36d76$2ffd6510$187c8e88@tomlaptop1' \
    --to=seanmcl@cs.nyu.edu \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).