[LLVMdev] GSoC Proposal: Language bindings via. SWIG
chandlerc at gmail.com
Fri Mar 28 18:52:58 PDT 2008
If SWIG can be made to do a good job with Python/Ruby/Perl etc bindings
around LLVM, I would be very interested in this. I'm personally interested
in seeing both Python and Ruby bindings, and in having them be as easily
maintained as possible. I think it would be interesting to see what the
SWIG-style solution can do in this direction as opposed to the C-binding
approach. If it results in better and/or lower maintenance/development cost
bindings for specific target languages, I'm all for it.
On Fri, Mar 28, 2008 at 3:55 PM, Søren Bøg <sbg at froztek.com> wrote:
> I've been lurking around the LLVM project for a couple of months now.
> The two recent threads about python bindings for LLVM ( and ),
> combined with the fact that I am looking for at GSoC project at the
> moment. Lead to the idea of making the "public" parts of LLVM
> SWIG-friendly and basing a set of python bindings on this.
> My reasoning for doing it this way, is that it allows reuse of the SWIG
> annotation for bindings to other languages such as Perl and Java among
> What I would like to do for the GSoC is:
> 1) Annotate the necessary parts of LLVM for processing by SWIG.
> 2) Use SWIG to generate a python wrapper around LLVM
> 3) Add a (hopefully) thin layer of python code to complete the bindings.
> Before submitting an application for this project. I would like to know
> if there is an interest in this, within the LLVM project, and possibly
> if this is already being worked on.
> Søren Bøg
>  http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-March/013318.html
>  http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-March/013171.html
>  http://www.swig.org/
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev