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