What language you are looking for?
Thank you.
> Sun
>
> --
> To unsubscribe, send email to wx-dev+un...@googlegroups.com
> or visit http://groups.google.com/group/wx-dev
>
2011/10/3, Igor Korot <ikor...@gmail.com>:
On Sun, Oct 2, 2011 at 9:58 PM, 孙波翔 <daeta...@gmail.com> wrote:
> Hi.
> Thanks for your reply.
> The language is Ada. wxAda was dead. So I want to restart it.
Well, you have something to begin with.
Try to build wxAda first based on the current SVN TRUNK - AKA 2.9.3.
If you have any questions, you can post them here.
BTW which platform will be you development one?
Thank you.
You may want to look at what I am working on for the next generation of
wxPython:
http://wiki.wxpython.org/ProjectPhoenix
http://trac.wxwidgets.org/browser/wxPython/Phoenix/trunk
Basically we are taking the XML output from Doxygen's processing of the
wx documentation/interface files and using that XML to generate code for
the wrappers. Currently code is being generated for SIP, but the design
should allow other generators to be plugged in without too much hassle.
It could even generate the C wrapper code if there isn't a tool like
SIP or SWIG available that you wanted to use for a backend generator
There is some Python-specific and SIP-specific stuff in the tweaker code
but I've been implementing ways as I think of them to either make those
things more generic or to be easily ignored by other generators.
--
Robin Dunn
Software Craftsman
http://wxPython.org
On Tue, Oct 4, 2011 at 12:53 AM, Robin Dunn <ro...@alldunn.com> wrote:
> You may want to look at what I am working on for the next generation of
> wxPython:
>
> http://wiki.wxpython.org/ProjectPhoenix
> http://trac.wxwidgets.org/browser/wxPython/Phoenix/trunk
>
> Basically we are taking the XML output from Doxygen's processing of the wx
> documentation/interface files and using that XML to generate code for the
> wrappers. Currently code is being generated for SIP, but the design should
> allow other generators to be plugged in without too much hassle. It could
> even generate the C wrapper code if there isn't a tool like SIP or SWIG
> available that you wanted to use for a backend generator There is some
> Python-specific and SIP-specific stuff in the tweaker code but I've been
> implementing ways as I think of them to either make those things more
> generic or to be easily ignored by other generators.
>
Phoenix looks interesting. Thanks!
Have you looked at SMOKE[1] ? If so, how does it compare to Phoenix?
The KDE people have been using it to generate complete bindings for
ruby, perl and php.
cheers,
--krishna
[1] http://techbase.kde.org/Development/Languages/Smoke
--
Programming is difficult business.
It should never be undertaken in ignorance.
--Douglas Crockford, "Javascript: The Good Parts"
Yep, that is possible. I've tried to design things in Phoenix such that
it can be useful for other target languages, although like I said before
there are some things here and there that are specific to my needs, but
for the most part they should be able to be ignored or worked around for
other targets. I've also designed things so that you should be able to
use most of what I'm doing for Python, or you can use just the
extractors and the basic framework and do the tweaking stage your own way.
If you want to evaluate feasibility of using the Phoenix framework you
can probably start looking at the current sip generator here:
http://trac.wxwidgets.org/browser/wxPython/Phoenix/trunk/etgtools/sip_generator.py
The generate() method in that class is called in the final stages of
the process for each module, the module parameter is a collection of
objects that represent all of the nodes from the XML that we are
interested in, each object's type is specific for the language construct
(ClassDef, ModuleDef, ParamDef, etc.) and the instance attributes
provide all the details. (These classes are implemented in
http://trac.wxwidgets.org/browser/wxPython/Phoenix/trunk/etgtools/extractors.py)
The bulk of the generator class is simply recursively traversing the
module object collection and writing out appropriate code for each item.
>
> Phoenix looks interesting. Thanks!
>
> Have you looked at SMOKE[1] ? If so, how does it compare to Phoenix?
> The KDE people have been using it to generate complete bindings for
> ruby, perl and php.
>
> cheers,
> --krishna
>
> [1] http://techbase.kde.org/Development/Languages/Smoke
>
No, I haven't seen that one.
Hi, how did I miss this??
Anyway, I'm the original author of wxAda, I still intend on getting this
to work, so it's not completely dead. I have played with the doxygen
output and was building my own tool based on XMLAda, but have just
downloaded the source to Phoenix to look at.
Did you get anywhere or were your completely overwhelmed by the sheer
size of this project?
Luke.