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.3 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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id A98F2BBCA for ; Fri, 14 Mar 2008 16:10:20 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmcBALox2kfAXQInh2dsb2JhbACRAAEBAQgKKZgk X-IronPort-AV: E=Sophos;i="4.25,501,1199660400"; d="scan'208";a="23775290" Received: from concorde.inria.fr ([192.93.2.39]) by mail4-smtp-sop.national.inria.fr with ESMTP; 14 Mar 2008 16:10:20 +0100 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m2EFAGef022526 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Fri, 14 Mar 2008 16:10:20 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmcBAJ4y2kdQW+UCh2dsb2JhbACRAAEBAQgKKZgm X-IronPort-AV: E=Sophos;i="4.25,501,1199660400"; d="scan'208";a="9454802" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail1-smtp-roc.national.inria.fr with ESMTP; 14 Mar 2008 16:10:07 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JaBXo-0003Fp-Gc for caml-list@inria.fr; Fri, 14 Mar 2008 15:10:04 +0000 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Mar 2008 15:10:04 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 14 Mar 2008 15:10:04 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: OSR: META files for packages containing syntax extensions Date: Fri, 14 Mar 2008 15:09:50 +0000 (UTC) Message-ID: References: <26180.42783.qm@web54605.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/0.9.8.1pl2 (Debian) Sender: news X-Miltered: at concorde with ID 47DA9558.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; le-gall:01 syntax:01 syntax:01 findlib:01 runtime:01 lib:01 runtime:01 libs:01 unifying:01 4.3:98 4.2:98 4.2.:98 wrote:01 suffix:02 library:03 On 14-03-2008, Dario Teixeira wrote: > Hi, > >> 4.3 and 4.2 should be merged. >> >> All syntax extension should be contained in a package "statements" (or >> whatever other name is chosen). If there is only 1 syntax extension, the >> package "statements" is directly the syntax extension. If there is >> several extension, each one get its own package with a name related to >> its function. > > Thanks for your comments, Sylvain. Below is a modification to the original > proposal that incorporates your comments (with a few tweaks); under this new > proposal, *all* syntax extensions have a ".syntax" suffix for findlib users: > > 4.1. Package is a syntax extension: > > "openin" - the runtime lib required by the extension (if applicable) > "openin.syntax" - The syntax extension itself > > 4.2. Package with optional syntax extension: > > "pgocaml" - refers to the library without extension; > "pgocaml.syntax" - refers to all syntax extensions in package; > > 4.3. Package is a collection of syntax extensions: > > "p4ck" - all runtime libs for all extensions in collection? > "p4ck.openin" - runtime support for the openin extension (if applicable) > "p4ck.openin.syntax" - the openin syntax extension > "p4ck.syntax" - all syntax extensions in the collection > > > Though I'd prefer to avoid the Java syndrome of being.namespaced.into.oblivion, > this new proposal does have the advantage of unifying all special cases. > > Any thoughts? > Nope, this is great. Regards, Sylvain Le Gall