From: Martin Jambon <martin_jambon@emailuser.net>
To: David MENTRE <dmentre@linux-france.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] ocamlscript 1.1
Date: Mon, 3 Oct 2005 14:00:00 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.63.0510031325030.14725@munge> (raw)
In-Reply-To: <87oe66qv1x.fsf@linux-france.org>
On Mon, 3 Oct 2005, David MENTRE wrote:
> I've just released version 1.1 of ocamlscript.
[...]
I think it's a great idea, but I have a couple of questions:
- how do you specify more than one library (on my OS everything that
follows #!/path/to/ocamlscript is treated as only one argument)?
- could packages be loaded with ocamlfind so that we don't have to worry
about dependencies, -I flags and camlp4 libraries?
Personnally, I would really appreciate if could write a script is a style
like this:
------------
#!/usr/bin/ocamlscript
# packs = micmatch_pcre lacaml lablgtk
(* my program starts here, the first line which doesn't start with a # *)
let _ = print_endline "Hello"
------------
or maybe more like that:
------------
#!/usr/bin/ocamlscript
(*! packs = micmatch_pcre lacaml lablgtk *)
(* only the first ocaml comment is parsed by ocamlscript, if there is no
code before and starts with ! *)
let _ = print_endline "Hello"
------------
Martin
--
Martin Jambon, PhD http://martin.jambon.free.fr
Freedom for the regexps! http://martin.jambon.free.fr/micmatch-howto.html
next prev parent reply other threads:[~2005-10-03 21:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-03 19:06 David MENTRE
2005-10-03 21:00 ` Martin Jambon [this message]
2005-10-04 7:57 ` [Caml-list] " David MENTRE
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=Pine.LNX.4.63.0510031325030.14725@munge \
--to=martin_jambon@emailuser.net \
--cc=caml-list@inria.fr \
--cc=dmentre@linux-france.org \
/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