Is a compiler created with SableCC covered by any license?

79 views
Skip to first unread message

Oskar

unread,
Mar 25, 2015, 2:40:01 PM3/25/15
to sab...@googlegroups.com
I read on https://www.gnu.org/licenses/gpl-faq.html#CanIUseGPLToolsForNF that

"Some programs copy parts of themselves into the output for technical reasons—for example, Bison copies a standard parser program into its output file. In such cases, the copied text in the output is covered by the same license that covers it in the source code. Meanwhile, the part of the output which is derived from the program's input inherits the copyright status of the input."

What is the case for SableCC?

Etienne Gagnon

unread,
Mar 26, 2015, 12:55:04 PM3/26/15
to sab...@googlegroups.com
Hi Oscar,

I consider the code produced by SableCC to be a derivative of the input grammar, not a derivative of SableCC. The use of precoded text patterns to produce output code does not make output code a derivative of SableCC.

In other words, the important thing, from a copyright point of view, is to determine is the copyright holder of the grammar specification. This copyright naturally extends to output code, as output code is a clearly derived from the grammar.

Regards,

Etienne
Etienne Gagnon, Ph.D.
http://sablecc.org
--
-- You received this message because you are subscribed to the SableCC group. To post to this group, send email to sab...@googlegroups.com. To unsubscribe from this group, send email to sablecc+u...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/sablecc?hl=en
---
You received this message because you are subscribed to the Google Groups "SableCC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sablecc+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages