[...] >> Indeed. But there are tools to generate most of the painful code: >> Swig, boost::python, and others. >> With Swig, you can even subclass C++ classes and override virtual >> methods in python. >> I wish pypy could do the same. > Both methods involve parsing C++, which is not fun. For example, > concerning wxwidget, I for once think it would be much easier to wrap > gtk than wxwidget (if we think: would be good to have a GUI lib for > pypy); incidently, that's how pygtk is generated (some python + scheme > code generate the pygtk wrapper around gtk). >
boost::python does not involve parsing c++. _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
