Parser or parsing tools?

sashan sashang@ihug.co.nz
Thu Jun 10 22:57:00 GMT 2004


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)




More information about the Gcc mailing list