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
ocaml as editor extension language
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-01-05 (08:49)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] ocaml as editor extension language
On Tuesday 05 January 2010 07:24:42 Joel Reymont wrote:
> You cannot embed OCaml and use it as an editor extension language unless
> 1) your editor is open source, or

I believe there are several issues surrounding the QPL license that much of 
the OCaml distribution is under:

1. You do not have the right to distribute your source code freely and must 
distribute only independently (e.g. patches only).

2. The "initial developer" is given rights to your derivative work.

3. The QPL is not GPL compatible so your derivative work cannot use GPL 



Note that OCaml's tools are under the QPL, including ocamllex and ocamlyacc. 
So you cannot even use that code to write a syntax highlighter for your 
editor without being subject to these requirements.

> 2) you are a member of the consortium and pay 2K EUR/year
> Is that correct?

You could always ask nicely if they mind you violating their license. :-)

Dr Jon Harrop, Flying Frog Consultancy Ltd.