On Fri, Oct 24, 2008 at 1:29 PM, klaas.holwerda <[EMAIL PROTECTED]> wrote: > John Labenski wrote: >> By the way, I'm a little hesitant to do too much work on the bindings >> since wxWidgets 3.0 uses doxygen and some sort of stripped down >> headers for their docs. In order to keep the bindings updated I'll >> probably want to switch to that format and have to completely rewrite >> the binder. >> > Yes i have bin thinking about that for some days now :-) > It looks to me that the headers are still valid headers and they are > parsed by doxygen. > So the tags can still be found. > But doxygen can generate XML, and that might be a much better way to > automatically generate *.i files. > From what i understand you are now parsing the headers yourself with > parse_ctags.lua. > With XML from doxygen and a pullparser (mine for instance) in lua, i > think it is easier to parse than header files directly. > So produce the *.i files from the XML. > > I assume you want to preserve the *.i files as is??
No, I'd probably go directly from C/C++ headers through doxygen to XML to the Lua binding files. BUT, this is all speculation as I haven't tried it yet. It may also be enough to simply use the stripped down wxWidgets C++ doc headers since they have the full class declarations that should work on all platforms as opposed to the real headers can be quite different between platforms for some classes. In any case, I don't think I'll have too much time in the near future to do too much. -John ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users