I am working on a program that parses c code ( not c++ ) and gives you the possibility to add and remove methods. Actually it does a lot more, but that is irrelevant right now.
What i am looking for is a parsing alogorithm that gives me all the information about methods, global variables, includes , etc...
I don't meed to parse the implentation of functions. I need Something like an array with Function objects which contain: name, parameters, return type, static/ non static and the content.
Is there Something available somewhere? Or can anyone point me in the right direction?
This is going to be a c# application, but i am only looking for the alogorithm right now.