This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: MELT doc licensing issues.]

I'm forwarding this to the list, so that I can answer on-list.

Mark Mitchell
(650) 331-3385 x713
--- Begin Message ---
Hello Mark (& CC to David)

[feel free to forward this, or your reply, to if you
feel it has general interest]

In [GFDL/GPL issues] you
announced that some comments from GCC code can be put in documentation.

I am the main author of GCC MELT, a branch of GCC (also usable as a
plugin) providing a lispy domain specific language to code GCC
extensions in. See

Melt documentation looks like following :doc line

 ;;;; fetch the nth argument inside a call
 (defprimitive gimple_call_nth_arg (:gimple gc :long n) :tree
   :doc #{Safely retrieve in gimple call $GC its $N-th argument.}#
   #{(($gc && gimple_code($gc) == GIMPLE_CALL && ($n)>=0
       && ($n) < gimple_call_num_args($gc))
      ? gimple_call_arg(($gc), ($n)) : (tree)0)}# )

There are more than two thousands such :doc chunks, automatically
processed to produce a meltgendoc.texi file included from gccint.texi in
the MELT branch.

Is this covered by Richard Stallman's decision for dual licensing of
GPLv3 and GFDLv2?  If not, how can MELT's embedded documentation be
modified to allow automatic creation of documentation? (Karl Berry) replied to a question [ #579118] that I could
dual-license the code, but later you told me to
remove the dual-license.

What is the definitive answer?

Should I add a notice in MELT files? Can the generated meltgendoc.texi
be redistributed?

Thanks for reading, and to David Edelsohn (in CC) for helping me
rephrase my questions.


email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***

--- End Message ---

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]