[cfe-dev] C++ to Python Project Proposal
Stefan Seefeld
seefeld at sympatico.ca
Fri Nov 5 13:24:56 PDT 2010
On 11/05/2010 03:56 PM, Jeff Kunkel wrote:
> I would like to use Clang to take many C++ classes and wrap them with
> the Boost::Python for use with python code.
>
> Does anyone have any advice?
> Has this been done already?
I think this is a good idea. However, I expect many users would want to
fine-tune the exact mapping (use Python properties instead of set/get
pairs, etc.), to make the resulting API more "Pythonic".
Thus, I think the ideal environment for this would be scripted, or
otherwise allow users to provide the means to declare how the mapping
should be done.
(Note: I'm right now attempting to bind CLang to Synopsis
(http://synopsis.fresco.org), which I expect to provide such a
scriptable layer for source-to-source mappings, among other use-cases.)
Stefan
--
...ich hab' noch einen Koffer in Berlin...
More information about the cfe-dev
mailing list