From: Berke Durak <berke.durak@exalead.com>
To: Caml-list List <caml-list@inria.fr>,
David Teller <David.Teller@univ-orleans.fr>
Subject: OSR - "Batteries included" - Standardizing syntax extensions and extra libraries
Date: Tue, 04 Mar 2008 18:12:19 +0100 [thread overview]
Message-ID: <47CD82F3.20600@exalead.com> (raw)
Hello all,
David Teller suggested that I launch a thread on my suggestion at the end of the
"different records, same field name?" thread.
The idea is to define, as part of the OSR process, a list of
"standard" syntax extensions and libraries. A meta-distribution of Ocaml would
then include, for every element of the ocaml toolchain, a version that has
access to those extensions and libraries. The name of the extended tool would
be obtained by adding an "s" to the original name.
Hence, assuming that we agree that Alain Frisch's openin and, say, Pcre should
be part of the standard, then
ocamlcs (resp. ocamlopts)
would be a script calling ocamlc (resp. ocamlopt) with options
-I +pcre -pp pa_openin
Then we'd tell people new to Ocaml to use those instead; the existing users
will be told to just add an "s".
This would make the answer of the question
"how do I open modules locally and parse XML fetched thru HTTP in Ocaml?"
become as simple as
I assume you are using Ocaml-OSR.
Use Netclient and Xmlm; for local modules, do "open M in...".
instead of
First, you must install Netclient and Xmlm. What OS are you using?
For debian, you must do apt-get install ocaml-netclient ocaml-xmlm.
For NetBSD, you must install GODI then Ocamlfind. Then, you must
install the openin extension and -I +netclient -I ... to your command line.
A few switches such as -only unix,pcre should be added to ocamlcs to prevent it
from linking it everything if this is a concern.
--
Berke DURAK
next reply other threads:[~2008-03-04 17:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-04 17:12 Berke Durak [this message]
2008-03-04 17:50 ` [Caml-list] " Hezekiah M. Carty
2008-03-04 20:27 ` Sylvain Le Gall
2008-03-04 20:55 ` [Caml-list] " David Teller
2008-03-04 21:14 ` Hezekiah M. Carty
2008-03-04 22:35 ` Paolo Donadeo
2008-03-04 22:57 ` Lukasz Stafiniak
2008-03-04 20:31 ` [Caml-list] " Dario Teixeira
2008-03-05 0:30 ` Ed Keith
2008-03-05 2:29 ` Yaron Minsky
2008-03-05 8:57 ` [Caml-list] OSR - "Batteries included" - Standardizing syntaxextensions " David Allsopp
2008-03-05 12:02 ` [Caml-list] OSR - "Batteries included" - Standardizing syntax extensions " Gerd Stolpmann
2008-03-05 15:04 ` Richard Jones
2008-03-05 0:10 ` Richard Jones
2008-03-05 10:19 ` Berke Durak
2008-03-05 11:41 ` Alain Frisch
2008-03-05 12:36 ` Bünzli Daniel
2008-03-05 14:03 ` Dario Teixeira
2008-03-06 14:21 ` Jim Miller
2008-03-05 15:43 ` Stefano Zacchiroli
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=47CD82F3.20600@exalead.com \
--to=berke.durak@exalead.com \
--cc=David.Teller@univ-orleans.fr \
--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