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.
Take a look from the other side: If you use a programming language licensed under GPL (the languages, not the libraries) you're still free to release every program written in this language, using the license you like to. greatz Johannes On 27.09.2012 01:28, Geoffrey Irving wrote: > Hello, > > I recently used sage to write a code generation script for exact > geometric predicates: > > https://github.com/otherlab/simplicity > > Since it's a python script that imports sage, the simplicity script is > GPL. However, I want the C++ *output* of this script to be license > unencumbered, so that I can incorporate into either BSD licensed > software (https://github.com/otherlab/core) or commercial software. > As discussed in > > http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html#GPLOutput > > doing this safely appears to require a special exception in the > license, since the simplicity script copies a bunch of tiny portions > of itself into the output. Examples include > > ... > warning = '// Exact geometric predicates\n// Autogenerated by > simplicity.py: DO NOT EDIT\n' > ... > body.append(' for (int i=starts[permutation];;i++) {') > body.append(' const bool f = terms[i]&1;') > body.append(' switch (terms[i]>>1) {') > .... > > Has anyone done anything similar before with sage? It seems > questionable to add the runtime exemption to my license when it isn't > in sage's, so I thought I'd ask here first. > > Thanks, > 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.