Max Battcher wrote:
>
> Not to mention the fact that right now I can't figure out how in the
> world you might include Haskell source code in a Java SWT project...  Is
> there a Haskell to JVM compiler?

Maybe someone will want to use C code or Haskell code which is under the 
Common Public Licence or the Eclipse Public Licence.  Sourceforge.net currently 
reports that there are 544 projects under one of these two licenses.  Probably 
many of these projects are in C.  At least one is written in Haskell.


Anyway, the question of programming language is orthogonal to the issue of 
license transitivity under the GPL.  The requirements of the GPL apply 
regardless of how the components communicate.

You could, for example, use Java's Native Interface and Haskell's Foreign 
Function Interface.  Or GCC's Java compiler "gcj".  Or, you have them invoke 
one another with fork() and pass messages to one another through pipes.  

The GPL states:

"2.  You may modify your copy or copies of the Program or any portion of it, 
     thus forming a work based on the Program, and copy and distribute such 
     modifications or work under the terms of Section 1 above, provided that 
     you also meet all of these conditions:
...
  b)  You must cause any work that you distribute or publish, that in whole or 
      in part contains or is derived from the Program or any part thereof, to 
be 
      licensed as a whole at no charge to all third parties under the terms of 
      this License."

It doesn't matter the technical details of how the components communicate with 
one another, what matters is only whether the resulting work is a derived work 
of the original GPL'ed work.

Regards,

Zooko

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to