public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* "plugin"-ifying the MELT branch.
@ 2009-06-04 18:33 Basile STARYNKEVITCH
  2009-06-05 16:14 ` Tom Tromey
  2009-06-16 11:13 ` Basile STARYNKEVITCH
  0 siblings, 2 replies; 15+ messages in thread
From: Basile STARYNKEVITCH @ 2009-06-04 18:33 UTC (permalink / raw)
  To: GCC Mailing List

Hello All,

To make MELT more interesting & more easy to use, I want to make it 
become a (big & meta *) plugin. I also need to document & illustrate it 
much more. I actually did start to work on the pluginification of MELT: 
I mean making MELT a real GCC plugin, not needing any core GCC patch 
anymore. The current snapshot (rev148175 of the MELT branch) already 
have some call to register_callback (with PLUGIN_GGC_MARK, so I don"t 
need to hack the GGC collector anymore.), even if MELT is not yet a real 
plugin.

I think that would be doable once gengtype is able to work in plugin 
mode, i.e. once the 
http://gcc.gnu.org/ml/gcc-patches/2009-06/msg00410.html patch is 
accepted into the trunk (or an equivalent way of doing it). AFAIK, once 
such a facility is provided, I could make MELT a plugin quite easily (by 
dropping some minor MELT functionalities, probably the compiler probe 
and the libtool support - ie using dlopen instead of the lt_dlopenext 
wrapper.


This brings some questions.

Can a branch be simply a plugin, or should I close (soon) the 
melt-branch and start a melt-plugin-branch on the SVN. If I do that, do 
I need some authorization? from whom?

Will there be a list of FSF-owned plugins (outside of the trivial ones 
for testing)? MELT could be an example of a non-trivial FSF plugin.

Perhaps we need on the SVN an additional class of sub-repositories. Not 
only branches and the trunk (and old releases) but also plugins....



I won't be able to attend the summit this year.

Regards.

Note *: MELT is a meta plugin in the sense that it generate C code, 
compile it, and dynamically load it. However, the MELT generated plugins 
do not follow the plugin API; they have their own ones!

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
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} ***

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-06-17 11:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-04 18:33 "plugin"-ifying the MELT branch Basile STARYNKEVITCH
2009-06-05 16:14 ` Tom Tromey
2009-06-16 11:13 ` Basile STARYNKEVITCH
2009-06-16 11:16   ` Richard Guenther
2009-06-16 11:21     ` Basile STARYNKEVITCH
2009-06-16 11:38       ` Joseph S. Myers
2009-06-16 12:22         ` Basile STARYNKEVITCH
2009-06-16 12:53           ` Richard Guenther
2009-06-16 13:10           ` Joseph S. Myers
2009-06-16 17:10           ` Janis Johnson
2009-06-16 17:20             ` Diego Novillo
2009-06-16 17:30               ` Basile STARYNKEVITCH
2009-06-17 10:49                 ` Richard Guenther
2009-06-17 11:56                   ` Basile STARYNKEVITCH
2009-06-16 17:33             ` Joseph S. Myers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).