On 25/05/10 09:04, Sebastien Binet wrote:

> 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)

Have you seen http://code.google.com/p/pycparser/ ?

It is a pure python implementation with small or no external
dependencies. I was thinking about using it for writing a simple cython
interfaces generator. I do not know if it supports extracting comments,
but I think it would be simple to extend it this way.

Cheers,
-- 
Daniele
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to