Open source licences
  Home FAQ Contact Sign in
comp.lang.forth only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.forth Profile…
 Up
Open source licences         


Author: Brad Eckert
Date: Nov 1, 2007 08:59

I have a question about open source licences. Suppose an open-source
Forth program generates C source code. Is that source code covered
under the same license as the code generator?

If the end user uses this open-source code generator to make source
code and doesn't want to give up rights to the generated code (trade
secret, for example), what would be the best license for the code
generator?

Brad
9 Comments
Re: Open source licences         


Author: Anton Ertl
Date: Nov 1, 2007 09:46

Brad Eckert tinyboot.com> writes:
>I have a question about open source licences. Suppose an open-source
>Forth program generates C source code. Is that source code covered
>under the same license as the code generator?

The first question is if the copyright holder of the code generator
has any copyright over the generated code at all, i.e., whether what
the code generator contributes is significant wrt copyright.

Typically code generators generate two pieces of code: some
boilerplate that they generate for all programs, and that would be
copyrighted by the copyright holder of the code generator; and some
code that is a relatively simple transformation of the user's input,
so that would be copyrighted by the user, and possibly, if the
contribution of the code generator is significant (usually it isn't),
by the code generator's copyright holder.

So, under normal conditions only the boilerplate code plays a role for
your question, and it will be under the specific license that the
copyright holder of the generator gave it.
Show full article (2.69Kb)
no comments
Re: Open source licences         


Author: spam
Date: Nov 1, 2007 12:19

On Thu, 1 Nov 2007, Brad Eckert wrote:
> Date: Thu, 01 Nov 2007 08:59:06 -0700
> From: Brad Eckert tinyboot.com>
> Newsgroups: comp.lang.forth
> Subject: Open source licences
>
> I have a question about open source licences. Suppose an open-source
> Forth program generates C source code. Is that source code covered
> under the same license as the code generator?
>
> If the end user uses this open-source code generator to make source
> code and doesn't want to give up rights to the generated code (trade
> secret, for example), what would be the best license for the code
> generator?
>
> Brad
>
Show full article (1.70Kb)
no comments
Re: Open source licences         


Author: Brad Eckert
Date: Nov 1, 2007 13:08

On Nov 1, 12:19 pm, s...@controlq.com wrote:
>
> The main thing depends upon your intent, and which license the tool itself
> is under. There is no reason why a GPL'ed application could not produce
> source code which is licensed under a GPL, BSD, MIT, Apache, public domain
> or even a user determined license.

The code generator could include a user-defined boilerplate generator
that puts generated code under GPL, "Company XYZ proprietary" or
whatever.
> Should the derived code rely upon a "run-time" library which you have
> developed, and placed under a license, and it binds to that licensed code,
> arguably, the derived code too may be bound by the more restrictive
> license of the run-time.

Libraries in Forth are often "compile time", not "run time". For
purposes of LGPL, does this make a difference? Open Forth source
compiled to a user's C application AFAIK is just another way of
linking to the library. I'm leaning toward LGPL, with some
clarification.

Brad
no comments
Re: Open source licences         


Author: spam
Date: Nov 1, 2007 13:30

On Thu, 1 Nov 2007, Brad Eckert wrote:
> On Nov 1, 12:19 pm, s...@controlq.com wrote:
>>
>> The main thing depends upon your intent, and which license the tool itself
>> is under. There is no reason why a GPL'ed application could not produce
>> source code which is licensed under a GPL, BSD, MIT, Apache, public domain
>> or even a user determined license.
>
> The code generator could include a user-defined boilerplate generator
> that puts generated code under GPL, "Company XYZ proprietary" or
> whatever.

Thus, whatever your tool license, you allow the user to decide. Very
democratic.
Show full article (2.64Kb)
no comments
Re: Open source licences         


Author: Alex McDonald
Date: Nov 1, 2007 16:13

On Nov 1, 8:30 pm, s...@controlq.com wrote:
> On Thu, 1 Nov 2007, Brad Eckert wrote:
>> On Nov 1, 12:19 pm, s...@controlq.com wrote:
>
>>> The main thing depends upon your intent, and which license the tool itself
>>> is under. There is no reason why a GPL'ed application could not produce
>>> source code which is licensed under a GPL, BSD, MIT, Apache, public domain
>>> or even a user determined license.
>
>> The code generator could include a user-defined boilerplate generator
>> that puts generated code under GPL, "Company XYZ proprietary" or
>> whatever.
>
> Thus, whatever your tool license, you allow the user to decide. Very
> democratic.
>
>
>
>>> Should the derived code rely upon a "run-time" library which you have
>>> developed, and placed under a license, and it binds to that licensed code, ...
Show full article (2.86Kb)
no comments
Re: Open source licences         


Author: Anton Ertl
Date: Nov 3, 2007 11:29

Brad Eckert tinyboot.com> writes:
>On Nov 1, 12:19 pm, s...@controlq.com wrote:
>>
>> The main thing depends upon your intent, and which license the tool itself
>> is under. There is no reason why a GPL'ed application could not produce
>> source code which is licensed under a GPL, BSD, MIT, Apache, public domain
>> or even a user determined license.
>
>The code generator could include a user-defined boilerplate generator
>that puts generated code under GPL, "Company XYZ proprietary" or
>whatever.

If you are happy with "whatever", just put that code into the public
domain. Anyone who picks it up and combines it with their own code
will put the whole under their favourite license (i.e., "whatever").
>Libraries in Forth are often "compile time", not "run time". For
>purposes of LGPL, does this make a difference? Open Forth source
>compiled to a user's C application AFAIK is just another way of
>linking to the library. I'm leaning toward LGPL, with some
>clarification.
Show full article (1.73Kb)
no comments
Re: Open source licences         


Author: Brad Eckert
Date: Nov 5, 2007 07:00

On Nov 3, 11:29 am, an...@mips.complang.tuwien.ac.at (Anton Ertl)
wrote:
>
>>The code generator could include a user-defined boilerplate generator
>>that puts generated code under GPL, "Company XYZ proprietary" or
>>whatever.
>
> If you are happy with "whatever", just put that code into the public
> domain. Anyone who picks it up and combines it with their own code
> will put the whole under their favourite license (i.e., "whatever").
>

The system in question consists of:

(a) A Forth compiler
(b) A code generator
(c) Forth libraries in source form
(d) The user's Forth application
(e) The application as C source code

(a) uses (b) to compile (c) and (d) into (e).
Show full article (1.06Kb)
no comments
Re: Open source licences         


Author: Anton Ertl
Date: Nov 5, 2007 10:21

Brad Eckert tinyboot.com> writes:
>Since the system will be an open source project on SourceForge, are
>there any drawbacks to Public Domain as opposed to GPL, etc? After
>all, everything is already in source form so a license that forces
>access to the source of binaries doesn't do much.

The question is: What happens if somebody takes the source code,
modifies it, and distributes the binary. Is it ok with you if they
don't make the changes available under the same conditions you put on
your code? If so, you can go with public domain or a BSD-style
license. If not, you want a copyleft (aka share-alike) license like
the GPL.
Show full article (1.47Kb)
no comments
Re: Open source licences         


Author: spam
Date: Nov 5, 2007 14:13

On Mon, 5 Nov 2007, Brad Eckert wrote:
> The system in question consists of:
>
> (a) A Forth compiler
> (b) A code generator
> (c) Forth libraries in source form
> (d) The user's Forth application
> (e) The application as C source code
>
> (a) uses (b) to compile (c) and (d) into (e).
>

Hmmm! Intriguing. I can't wait for your project announcement 8-).

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
no comments