I wrote a bit of lex to extract features from c code. being lex it is incomplete to say the least but i found it good enough.
my code used to run every night passed a list of files to parse, and wrote an idenifier, comment, function, #define etc database (2 text files) which i could grep through. i used it when i worked supporting solaris, it allowed me to find error messages and functions anywhere in the sourcecode quickly. i haven't run it in years but maybe it is of use to someone. http://www.quintile.net/pkg/xid.tbz -Steve ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tf8ceac12df9da674-M5630d14b408680d32b257869 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription