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 270E9BB84 for ; Tue, 25 Jul 2006 05:29:39 +0200 (CEST) Received: from ptb-relay02.plus.net (ptb-relay02.plus.net [212.159.14.213]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k6P3Tcc5001647 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 25 Jul 2006 05:29:38 +0200 Received: from [80.229.56.224] (helo=[10.0.0.5]) by ptb-relay02.plus.net with esmtp (Exim) id 1G5Dbs-0003iF-2p for caml-list@yquem.inria.fr; Tue, 25 Jul 2006 04:29:28 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Embedding the OCaml compiler Date: Tue, 25 Jul 2006 04:28:58 +0100 User-Agent: KMail/1.9.1 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607250428.58270.jon@ffconsultancy.com> X-Miltered: at concorde with ID 44C59022.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 50,:98 frog:98 invoke:01 wrote:01 caml-list:01 caml:02 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 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. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists