English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Embedding the OCaml compiler
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-25 (03:41)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Embedding the OCaml compiler
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 <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net