Am Dienstag, den 01.04.2008, 12:56 +0200 schrieb Jean-Yves Lefort: > On Mon, 31 Mar 2008 22:52:09 +0200 > Ben Torfs <[EMAIL PROTECTED]> wrote: > > > As a fan of both the prolog programming language and the GTK+ toolkit > > (as a user), I was wondering why the GTK page makes no mention of any > > prolog bindings. For those of you that are unfamiliar: prolog is a > > declarative language (like haskell, but very different in the way it > > works). Until now, it has mostly been used as a research tool in > > artificial intelligence (theorem proving, knowledge representation, > > etc.) However, I believe it has a lot of potential to be used for > > desktop applications too. Haskell too, for example, has also proven to > > be a success for end-user applications (gtk+ bindings exist). I think > > prolog is just a breeze to program in, and I would love to push it > > further! Specifically, by implementing GTK+ bindings for this language > > myself, as a Google Summer of Code project. Implementing all functions > > would probably be too much work for a 3-month project, but it could > > certainly deliver a basic subset, as a basis for myself and other > > developers to continue working on later. > > It should take much less than 3 months. I've implemented exhaustive > GTK+ bindings for a language I'm designing in a couple of days. The > internal API representation suitable for use by a generator program > can be automatically obtained: > > - for types and methods, by parsing the C headers
Please don't replicate efforts done by other binding authors, please. Really. Read the GTK+ Hackfest papers about GTK+ 3.0 and look for recent information about GObject introspection support. Search for pybank, which is a prototype[?] for a next-generation GObject binding and understand how it works. Perl has a related project if you prefer that language, but I don't know its name. After getting a basic idea about recent binding efforts you might want to join #introspection at irc.gimp.org. Btw, why is the language-bindings list dead? Which mailing list is used for discussing (and documenting) pybank and introspection efforts? All this shiny infrastructure is not in place yet, but hopefully it will be next spring. With that infrastructure creation of Prolog bindings looks much more useful and educational that it is this year - in the sense of "we do, because we can do itin a reasonable way". IMHO. Ciao, Mathias -- Mathias Hasselmann <[EMAIL PROTECTED]> Openismus GmbH: http://www.openismus.com/ Personal Site: http://taschenorakel.de/
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list