On Friday 01 July 2005 17:01, Alexander Neundorf wrote: > ...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. Here's a very simple example: ----------8<-----------8<--------------8<----------- struct EmptyClass {}; int a_function(float f, EmptyClass e) { } int main(void) { return 0; } ----------8<-----------8<--------------8<----------- and the resulting xml: Alex -- Work: alexander.neundorf@jenoptik.com - http://www.jenoptik-los.de Home: neundorf@kde.org - http://www.kde.org alex@neundorf.net - http://www.neundorf.net _______________________________________________ KDevelop-devel mailing list KDevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel