On a completely related note, I just saw this on comp.lang.tcl:
Ho!
A couple of years ago I wrote a Tcl syntax checker which mostly has
been collecting dust since then.
I'm planning to do something with it so I have removed some of the
dust, called it v0.1 and released it for anyone interested:
http://spjuth.pointclark.net/Tcl.html
It does not even have a proper name yet, and lacks "a bit" in
documentation but it works well enough to be worth using before
starting a 30 hour synthesis script 😊
Some features:
* Written in pure Tcl.
* It's picky. It prefers to warn when in doubt so not to miss things.
* If you have a tool using Tcl as script language, you can extract
information like commands available to build a syntax database for
checking scripts for the tool.
E.g., I have used it to check Synopsys Design Compiler scripts.
/Peter