> > > > 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] To acquire the right to modified the ocaml compiler as we do at LexiFi, you must be part of The Caml Consortium : http://caml.inria.fr/pub/old_caml_site/consortium/index.shtml Ps: We don't use camlp4, the extensions are implemented directly into the compiler. Denis