I agree, remove sets/gets would be more like python, but for the first iteration, I will try not to do any extra parsing.<div><br></div><div>Your link <a href="http://synopsis.fresco.org/" target="_blank">http://synopsis.fresco.org</a> is broken.</div>
<div><br></div><div>- Thanks</div><div>- Jeff Kunkel</div><div><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 4:24 PM, Stefan Seefeld <span dir="ltr"><<a href="mailto:seefeld@sympatico.ca">seefeld@sympatico.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 11/05/2010 03:56 PM, Jeff Kunkel wrote:<br>
> I would like to use Clang to take many C++ classes and wrap them with<br>
> the Boost::Python for use with python code.<br>
><br>
> Does anyone have any advice?<br>
> Has this been done already?<br>
<br>
</div>I think this is a good idea. However, I expect many users would want to<br>
fine-tune the exact mapping (use Python properties instead of set/get<br>
pairs, etc.), to make the resulting API more "Pythonic".<br>
<br>
Thus, I think the ideal environment for this would be scripted, or<br>
otherwise allow users to provide the means to declare how the mapping<br>
should be done.<br>
<br>
(Note: I'm right now attempting to bind CLang to Synopsis<br>
(<a href="http://synopsis.fresco.org" target="_blank">http://synopsis.fresco.org</a>), which I expect to provide such a<br>
scriptable layer for source-to-source mappings, among other use-cases.)<br>
<br>
     Stefan<br>
<font color="#888888"><br>
--<br>
<br>
       ...ich hab' noch einen Koffer in Berlin...<br>
<br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</font></blockquote></div><br></div>