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