I don't know the constraints of your problem, but a simple approach is GREP.
This will allow you to replace a token with another, either may be code.
It wont easily do symbol table manipulation
If you want to roll your own fully featured compiler , look at YACC or one
of its numerous kin.

Mark Browne

----- Original Message ----- 
From: "Thomas T. Veldhouse" <veldy at veldy.net>
To: "Linux-MN" <tclug-list at mn-linux.org>
Sent: Tuesday, September 16, 2003 9:38 AM
Subject: [TCLUG] Source code scanning tool ...


Hey all!

I am looking for a source code scanning tool that can find tokens withing
the code and then output what functions (in C or C++) the tokens were found
in.  Is there such a tool?  I would think that since a compiler does this
anyway, a simple tool ought to be available.

Thanks in advance,

Tom Veldhouse


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list