gtk-code generator instead of writing wrappers?



Only an idea:

Would it not be clever to do the opposite of parsing the gtk-source
code?

Generate the actual gtk c code out of an object oriented interface
toolkit language (something similar is done in the ptolemy simulation
framework) which manages the single inheritance when creating new
widgets, generates the wrappers for scheme, C++, ObjC, headerfiles etc..

One could use a java like syntax
 (class ... extends .. {..}) and something like jcc (java source to c
compiler, http://www.geocities.com/CapeCanaveral/Hangar/4040/jcc.html)
as starting point.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]