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 9EE9CBB84 for ; Tue, 25 Jul 2006 05:41:26 +0200 (CEST) Received: from ash25e.internode.on.net (ash25e.internode.on.net [203.16.214.182]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k6P3fOBW004122 for ; Tue, 25 Jul 2006 05:41:25 +0200 Received: from rosella (ppp232-211.lns3.syd7.internode.on.net [59.167.232.211]) by ash25e.internode.on.net (8.13.6/8.13.5) with ESMTP id k6P3fB2K095426; Tue, 25 Jul 2006 13:11:13 +0930 (CST) (envelope-from skaller@users.sourceforge.net) Subject: Re: [Caml-list] Embedding the OCaml compiler From: skaller To: Jon Harrop Cc: caml-list@yquem.inria.fr In-Reply-To: <200607250428.58270.jon@ffconsultancy.com> References: <200607250428.58270.jon@ffconsultancy.com> Content-Type: text/plain Date: Tue, 25 Jul 2006 13:41:11 +1000 Message-Id: <1153798871.1389.1.camel@rosella.wigram> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 44C592E4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 compiler:01 ocaml:01 compiler:01 camlp:01 lexifi:01 compilers:01 compilers:01 2006:98 2006:98 50,:98 invoke:01 wrote:01 wrote:01 sourceforge: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 On Tue, 2006-07-25 at 04:28 +0100, Jon Harrop wrote: > On Tuesday 25 July 2006 01:50, Joel Reymont wrote: > > Am I correct that embedding the OCaml compiler would require me to > > release my code as open source? > > > > I was thinking of using OCaml as the DSL (with camlp4) like the > > LexiFI guys do but I think I would need to embed the compiler. > > I believe you can invoke the OCaml compilers from closed-source software. You > can even bundle the OCaml compilers with your software and use them > transparently. You just can't modify the sources directly. If you need to change anything you have to supply the original source and set of patches or equivalent. [Q public licence] -- John Skaller Felix, successor to C++: http://felix.sf.net