On Thu, Sep 27, 2012 at 12:16 PM, Johannes <dajo.m...@web.de> wrote:
> Am Do 27 Sep 2012 20:58:25 CEST schrieb Geoffrey Irving:
>> On Thu, Sep 27, 2012 at 11:50 AM, Johannes <dajo.m...@web.de> wrote:
>>> Hi,
>>> as far as I understand the GPL, I would say you can release the output
>>> of your script under every license you want to, as long as Sage is not
>>> necessary to _compile_ or _run_ the the c++ code.
>>
>> Since my script copies bits of itself into the output, those bits
>> carry the GPL along unless you add a special exception to the LICENSE,
>> similar to the exceptions added for bison, flex, etc.
>
> are those bits necessary for the output to compile? If not, I don't see
> any problem, maybe - if they are not needed - why can those bit not be
> removed from the c++ code?

It's a code generator: putting together bits of C++ code strings is
half of what it does (the other half is symbolic math).  I.e., go to

    https://github.com/otherlab/simplicity/blob/master/simplicity.py

and search for the single quote character, indicating one of the
dozens of tiny strings littered throughout the file. :)

Geoffrey

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to