NVIDIA released the source code to their Cg shader compiler. According to the site, the released code includes "a "generic" profile, which does some minimal semantic checks and prints out a tree representation of the code."
Archive Notice: This content is archived, and commenting is no longer active.
It is here for reference purposes. This content was added on an older version of
flipcode, before the site closed in 2005.