Excerpts from Daniele Nicolodi's message of 2010-05-25 11:37:50 +0200:
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/ ?
yes, and I have been using it to teach myself PyParsing. the problem is that I need to be able to parse C++, not just C.
Parsing (correctly) C++ is a full blown project and I prefer to rely on the work of others :)