Check out the CodeTigerLib and CodeAnalysis projects.