Version française
Home     About     Download     Resources     Contact us    
Browse thread
OSR - "Batteries included" - Standardizing syntax extensions and extra libraries
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Berke Durak <berke.durak@e...>
Subject: Re: [Caml-list] OSR - "Batteries included" - Standardizing syntax extensions and extra libraries
Richard Jones a écrit :
> On Tue, Mar 04, 2008 at 06:12:19PM +0100, Berke Durak wrote:
>> 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
> 
> Why is this better then the equivalent ocamlfind command?

It's not better.  It's not the same thing;  ocamlcs could indeed be implemented
with ocamlfind.

The idea is to collectively define a set of things like pa_openin, a Unicode library
or a Xml library, include them by default in a meta-distribution, and patch or wrap
over the base commands to ensure that those can be used with little to no command-line flags.

In other words, using unicode should be as simple as using a built-in library; in particular,
I don't want to have to add -I +unicode; it would be fine if I could just add unicode.cma;
better if I didn't have to.
-- 
Berke DURAK