[Numpy-discussion] Extending documentation to c code

Sebastien Binet seb.binet at gmail.com
Tue May 25 03:04:41 EDT 2010


Excerpts from David Cournapeau's message of 2010-05-25 05:06:09 +0200:
> On Tue, May 25, 2010 at 3:01 AM, Charles R Harris
[snip]
> Maybe as a first step, something that could extract function signature
> would be enough, and writing this should not take too much time
> (Sebastien B wrote something which could be a start, to autogenerate
> cython code from header:http://bitbucket.org/binet/cylon).

note that llvm/clang is versatile enough to easily provide indices into
the source code, which of course includes the comments...  I am actually
working on improving the python bindings to clang (which are already
quite useful for this thread's topic as they are used for code
completing C/C++ code - but are not yet complete enough for providing
complete function signatures)

cheers,
sebastien.
-- 
#########################################
# Dr. Sebastien Binet
# Laboratoire de l'Accelerateur Lineaire
# Universite Paris-Sud XI
# Batiment 200
# 91898 Orsay
#########################################



More information about the NumPy-Discussion mailing list