Excerpts from David Cournapeau's message of 2010-04-20 12:06:17 +0200: > On Tue, Apr 20, 2010 at 12:57 AM, Haoyu Bai <[email protected]> wrote: > > > Hi, > > > > I just found a project on GitHub which might do the thing you want: > > > > http://github.com/cournape/cython-codegen > > That code is horrible though :)
don't worry about that, I am dealing with high energy physicists (C++ and python) code on a daily basis :) ...and I am guilty of a few programming "gems" too. > It worked for me to wrap big header > files, but that's not really usable. Gccxml is horrible to work with, > I think a much better solution would be to reuse clang - I started > looking at it, and it looked doable, but I don't have the time to work > on it ATM, > > http://amnoid.de/tmp/clangtut/tut.html thanks for the link. llvm/clang was on my radar (I played a bit w/ llvm-py) but this tutorial will most definitely help ! cheers, sebastien. -- ######################################### # Dr. Sebastien Binet # Laboratoire de l'Accelerateur Lineaire # Universite Paris-Sud XI # Batiment 200 # 91898 Orsay ######################################### _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
