tclCheck , by Lindsay Marshall, does simple Static Syntax Analysis.
tclCheck is something along the lines of bracechecker. frink is a more advanced tool by the same author.