Alex Nicolaou wrote:
> 
> The actual CVS snapshot is under GPL, however. Which license is intended
> to apply? If it is LGPL when will it be fixed?

Hi Alex.

If I understand well, the main parts of Japhar are under the LGPL. (Look
at the source files in the lib directory). But the program parts are
under the GPL for some obscure reason. In addition, it seems that the
text of the LGPL is missing.

Here's are my suggestions to the Japhar people.
(Preamble) There is no reason not to release ALL the source code under
the LGPL, including the "program" parts.

If you read the LGPL license carefully, you will notice that legally,
there is no distinction between a library and a program.

Another way to see it: The int main(int, char**) function can be seen as
a reusable function. So it is fit to be included in a library of useful
functions.

The complete SableCC code is released under the LGPL. This way, I allow
anybody to reuse any part of the program as a library function (provided
that they conform to all the requirements of the LGPL which imply no
function calls into proprietary code).

This way, if somebody wants to use the reuse the code as a library along
with some proprietary code, they simply have to rename int main(int,
char**) to something else and provide their own proprietary main that
can call into both the library and the proprietary code. The trick is
not to make any library code call into proprietary code directly. (The
trick is to use call backs through function pointers if this is needed).

(1) As I said, you could license all the source code under the LGPL.
(2) You should include the LGPL text along with the source code. (If not
in the main directory, then at least in the lib directory).
(3) Keep up the nice work! ;-)

Have fun!

Etienne

-- 

----------------------------------------------------------------------
Etienne Gagnon, M.Sc.                   e-mail: [EMAIL PROTECTED]
Author of SableCC:                 http://www.sable.mcgill.ca/sablecc/
----------------------------------------------------------------------

Reply via email to