On Wed, Feb 18, 2015 at 8:29 AM, Zachary Turner <ztur...@google.com> wrote:

> Maybe we can add support for Python3 too.  I know that moving off of
> Python 2 is a non-starter because of legacy code, but if it's ever going to
> happen in the future, then starting earlier is better than starting later,
> and this would be a good starting point.
>
> For what it's worth, the python-based swig generation script has support
> for other languages.  There's a top level script which recurses into each
> language-specific subdirectory and runs a script in that directory to shell
> out to swig for the final creation.  So that part should be extensible.
>

That's what I do for my JS bindings already, although I am still using the
old shell script code in that tree. I did have to move the *.i files though
and modify them to only conditionally include some stuff that is Python
specific.

But the SWIG approach is rather painful for some other languages, so I'd
like to hear if others might want a more straight forward (in terms of
bindings) C API.

 - Bruce
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to