From: Sam Steingold <sds@gnu.org>
To: caml-list@inria.fr
Subject: stand-alone top-level
Date: Mon, 16 Apr 2007 13:52:29 -0400 [thread overview]
Message-ID: <4623B7DD.1090208@gnu.org> (raw)
How can I create a stand-alone top-level (REPL) executable?
My workstation is not powerful enough to run some things, so I want to
create an interactive top-level (REPL) executable, copy it to a
different machine (with, say, more RAM) and talk to the REPL.
Alas, this does not work, because, even though my executable code gets
linked in, it cannot be used without the mli files:
ocamlmktop foo.cma -o mycaml
mycaml now requires foo.mli to be present somewhere for Foo.bar() to be
usable. this means that mycaml is not really stand-alone, I have to
carry all the mli files with it.
this all basically means that I have to compile exe files (instead of an
interactive REPL) to do my work on a different machine (i.e.,
effectively, I am using the C development model: edit/compile/link/run
instead of the Lisp development model: edit/run).
so, is there a way around?
how do I create a completely stand-alone ocaml repl that contains my code?
thanks.
Sam.
next reply other threads:[~2007-04-16 17:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-16 17:52 Sam Steingold [this message]
2007-04-17 8:03 [Caml-list] " EL CHAAR Rabih SGAM/AI/SAM
2007-04-17 13:54 ` Sam Steingold
2007-04-17 14:14 EL CHAAR Rabih SGAM/AI/SAM
2007-04-17 14:23 ` Sam Steingold
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=4623B7DD.1090208@gnu.org \
--to=sds@gnu.org \
--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