From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 79088BC40 for ; Tue, 26 Oct 2004 09:51:17 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id i9Q7pHPe016469 for ; Tue, 26 Oct 2004 09:51:17 +0200 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 JAA21876 for ; Tue, 26 Oct 2004 09:51:16 +0200 (MET DST) Received: from web50903.mail.yahoo.com (web50903.mail.yahoo.com [206.190.38.123]) by nez-perce.inria.fr (8.13.0/8.13.0) with SMTP id i9Q7pGpX016464 for ; Tue, 26 Oct 2004 09:51:16 +0200 Message-ID: <20041026075115.42913.qmail@web50903.mail.yahoo.com> Received: from [62.127.47.223] by web50903.mail.yahoo.com via HTTP; Tue, 26 Oct 2004 00:51:15 PDT Date: Tue, 26 Oct 2004 00:51:15 -0700 (PDT) From: Martin Sandin Subject: Camlp4 Q / Possible license issue To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 417E01F5.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 417E01F4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; parser:01 distro:01 def:01 lbl:01 lbl:01 lgpl:01 distro:01 bsd-style:01 rewrite:01 patt:01 patt:01 ident:02 ident:02 slightly:02 parameter:02 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: I'm creating a library/tool centered around a camlp4 extension. In doing so I need to access the parser labels simple_patt and class_declaration from the camlp4 distro file pa_o.ml. Is there a way to do this? Failing this I've resorted to copying these and other parts on which these parts depend of the above file into a separate smaller module which exports these labels. This seems slightly clumsy since it includes all the code under labels: class_fun_binding, class_type_parameters, class_fun_def, class_structure, class_self_patt, mod_ident, ident, patt_semi_list, lbl_patt_list, lbl_patt, patt_label_ident, type_parameter, labeled_patt. It works well. It however brings up the license issue. I'd rather not rewrite this code, which is licensed under the LGPL, but I'd like to include it in my distribution. And I'd like to put my own code in this distro under a BSD-style license. Can I do this by just copying the above code into a separate file (pa_class.ml) while retaining the license comment with a change comment? Or do I have to distribute separatly? Any advise on how to do this? If I get a reply which solves my problems, the first release while come right after=) Thanks, Martin __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com