On Mon, Oct 12, 2009 at 3:28 AM, Klaas Holwerda
<db...@nl.thalesgroup.com> wrote:
> John Labenski wrote:
>>
>> to make them work in both 2.8 and 2.9 since I think they'd be pretty
>> unreadable by the time I'd be done.
>
> Maybe its an idea to make two trees of binding files??

I will start using SVN, I'm not sure why people like it so much, but
it seems like the way to go.

> What I want to do is to use the
>>
>> interface files that wxWidgets 2.9 uses to generate their docs. That's
>> going to be a big job since the generator will have to be completely
>> rewritten and they are going to have to be changed a bit. The idea is
>> that once we switch to their interface files we will no longer have to
>> maintain our own copy.
>
> I understand, but what i don;t understand is how you want to do it.
> How do you want to deal with all the %xxx directives. I assume they will
> still be needed??

I think we can do away with %class %enum and use class and enum
followed by { } instead of looking for %endclass and %endenum, change
%define to #define, but we'll still need #define_string. Basically,
make it as C/C++ like as possible. Many of the %XXX tags were made to
catch errors and to be very easy to process.

> Do you plan to do that in Lua or C++? If there would be a C++ solution, it
> might be usable for many other wrappers for wxWidgets.
> And that would be great for me :-)

Probably in Lua because it's so easy to create large complicated
tables of the data. I might be able to use quite a bit from the
current parser.

> I have a XML pull parser in wxArt2D, it might be easier in use then reading
> the complete DOM tree first, and parsing that. But i don't know.

I have yet to try generating the doxygen XML files, I think that's
what you mean. Parsing the C++ might be just as easy, but we'll have
to see.

Regards,
    John

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to