From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 0D6D9BBC1 for ; Wed, 5 Mar 2008 11:20:05 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAACwCzkfAXQInh2dsb2JhbACQcgEBAQgKKZpA X-IronPort-AV: E=Sophos;i="4.25,449,1199660400"; d="scan'208";a="8982359" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 05 Mar 2008 11:20:04 +0100 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m25AJo3v017520 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Wed, 5 Mar 2008 11:20:04 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FACwCzkfBL1AZbGdsb2JhbACQcgsEBgcJGZpA X-IronPort-AV: E=Sophos;i="4.25,449,1199660400"; d="scan'208";a="9903880" Received: from gw.exalead.com (HELO exalead.com) ([193.47.80.25]) by mail3-smtp-sop.national.inria.fr with ESMTP; 05 Mar 2008 11:20:04 +0100 Received: from [192.168.204.148] (madpc064.exalead.com [192.168.204.148]) (authenticated bits=0) by exalead.com (8.14.0/8.14.0) with ESMTP id m25AJtEH027036; Wed, 5 Mar 2008 11:19:57 +0100 Message-ID: <47CE73CB.8070904@exalead.com> Date: Wed, 05 Mar 2008 11:19:55 +0100 From: Berke Durak User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: Richard Jones Cc: Caml-list List Subject: Re: [Caml-list] OSR - "Batteries included" - Standardizing syntax extensions and extra libraries References: <47CD82F3.20600@exalead.com> <20080305001003.GB14117@annexia.org> In-Reply-To: <20080305001003.GB14117@annexia.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Miltered: at concorde with ID 47CE73C6.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; berke:01 durak:01 berke:01 durak:01 syntax:01 0100,:01 pcre:01 ocamlc:01 ocamlopt:01 pcre:01 -pp:01 ocamlfind:01 ocamlfind:01 command-line:01 flags:01 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