[lldb-dev] Alternative bindings for the SB* API
Bruce Mitchener
bruce.mitchener at gmail.com
Tue Feb 17 17:38:26 PST 2015
On Wed, Feb 18, 2015 at 8:29 AM, Zachary Turner <zturner at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150218/564ada05/attachment.html>
More information about the lldb-dev
mailing list