From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id BE5EBBBBB for ; Thu, 9 Feb 2006 20:32:40 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k19JWeTx016132 for ; Thu, 9 Feb 2006 20:32:40 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA10581 for ; Thu, 9 Feb 2006 20:32:39 +0100 (MET) Received: from smtp16.wanadoo.fr (smtp16.wanadoo.fr [193.252.23.89]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k19JWdGB032137 for ; Thu, 9 Feb 2006 20:32:39 +0100 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1604.wanadoo.fr (SMTP Server) with ESMTP id 84FE870000AA for ; Thu, 9 Feb 2006 20:32:39 +0100 (CET) Received: from wwinf1633 (wwinf1633 [172.22.147.107]) by mwinf1604.wanadoo.fr (SMTP Server) with ESMTP id 7A808700009A; Thu, 9 Feb 2006 20:32:39 +0100 (CET) X-ME-UUID: 20060209193239501.7A808700009A@mwinf1604.wanadoo.fr Message-ID: <1372254.1139513559489.JavaMail.www@wwinf1633> From: yoann padioleau Reply-To: padator@wanadoo.fr To: Damien Doligez , Ocaml Subject: Re: [Caml-list] Namespace clash Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [193.54.76.165] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~||~| X-WUM-REPLYTO: |~| Date: Thu, 9 Feb 2006 20:32:39 +0100 (CET) X-Miltered: at concorde with ID 43EB98D8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 43EB98D7.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 mangling:01 ad-hoc:01 camlp:01 syntax:01 camlp:01 alain's:01 -pp:01 ocaml:01 compiler:01 foo:01 -pp:01 foo:01 ocaml:01 damien:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 > > I had not thought about this... Actually, it is not a bad idea, at > > least, in my build system. Ideally, the build system would have to > > have a way of mangling the library namespace by packaging up > > findlib-managed libraries in a single package. Then, it would have > > to isse the desired -open directives to an ad-hoc camlp4 syntax > > extension. It's a bit of a hack, but it could work. I wonder if it > > is general enough a solution to become mainstream, though. > > It doesn't have to be a camlp4 extension, you could implement Alain's > trick > with a preprocessor written in Bourne shell. But it doesn't work > when the > program is already compiled with -pp, since the OCaml compiler doesn't > allow for a pipeline of preprocessors. You still can invent a script foo that successfully call your first bourne shell script bar and then call camlp4. Then you just pass -pp foo to ocaml. Did I overlook something ? > > -- Damien > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > >