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 [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.