This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Parser or parsing tools?


Yu Wang wrote:
My name is Yu Wang. Currently I am doing a project which needs to parse
the standard C header files to get the type information about function
prototypes, such as return types and parameters' types. A C parser or
parsing tool which can handle all the C types (including all kinds of
user defined types) may fit my requirements. Anyone has any suggestion on
what I should do to achieve my goal or where I can find such a parser or
parsing tool? Thanks very much in advance.

Yu Wang


gccxml may help http://www.gccxml.org/HTML/Index.html. It generates an XML description from the source code. It's used by Pyste to automatically generate Boost.Python code.

--
sashan
http://www.cs.auckland.ac.nz/~sgov008/
Public Key: http://www.keyserver.net/en/ (search for key id 0x63B4EBF5)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]