probably the best C++ parser...

Alexander Neundorf neundorf at kde.org
Fri Jul 1 17:02:09 UTC 2005


...you can find is gcc, but did you know gccxml 
(http://www.gccxml.org/HTML/Index.html) ? It's basically the real gcc, but it 
doesn't produce machine instructions, but an xml file describing the source 
file.
So you get 
-all functions
-all variables
-all parameters for functions
-the locations where the functions are declared (file and line number)
etc. in a machine-readable format.

I think this could be really useful for kdevelop (go to 
declaration/definition, completion, parameter info, etc.) Did anybody already 
play with it ?

Btw. it's written by the same guys who develop cmake :-)

Bye
Alex
-- 
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net




More information about the KDevelop-devel mailing list