Hi,

I'm thinking of applying to Google summer of code for Haskell to work on
gtk2hs. I'm thinking of writing a static binding generator based on
gobject-introspection data. Gobject-introspection is the new way to
develop bindings for GNOME.

I think it could replace most of the current automatic code generation,
and reduce the amount of work that needs to be done by hand. It would
replace the current ApiGen and associated Perl scripts, and make it
easier to maintain and produce new bindings to various GNOME libraries
which aren't currently bound, like telepathy.

I've thought of a few issues with doing this, such as introspection not
having an annotation for whether a function causes a callback for
finding safe/unsafe functions, but those where it isn't obvious /
doesn't take a function aren't all that common, but overall I think it
would be better than the current system.

I'm also thinking it might be good to skip the c2hs layer in this new
tool, avoiding the issues with gtk2hs having to maintain its own old
c2hs fork vs. the regular version on Hackage.

What do other people think of this idea?

- Matt Arsenault


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to