Tuesday, February 26, 2002

Rigi C-Language Parser The Rigi C-Language Parser
The Rigi C-language parser is designed to extract entities and the relationships between entities from files of C source code. Currently the entities that the parser extracts are C functions and C structure definitions. The relationships that the parser extracts are function calls between function entities and data references between function and data structure entities. The parser represents these relationships as RSF (Rigi Standard Format) 3-tuples and writes them to the standard output. The parser also extracts other attributes of the entities, such as their type (either Function or Data) and the line number in the source code file that they were extracted from. For example, if we had the two functions given below in main.c, the RSF generated would look something like the following.

1 Comments:

At 3:40 PM, Blogger Unknown said...

Hi Mike,
I read your comment about extracting call graphs from C programs via rigiparse, and also your comment "Doxygen is cool".
I was wondering what you think about combining the two, i.e., using Doxygen for producing RSF files.
I have tried this - do you find this helpful as well?
http://www.sosy-lab.org/~dbeyer/CCVisu/manual/main.html#htoc5

 

Post a Comment

<< Home