[Templates] TT2 syntax checker or lint?

Matthew Pressly mpressly@claborn.net
Wed, 06 Mar 2002 13:34:48 -0600


Has anyone written a syntax checker for template toolkit files that can report line numbers for things that are difficult to debug with template toolkit directly, for example, something that checks tag matching to ensure that each FOREACH, IF, etc. has one and only one END tag and reports the line number of any that don't or of any extraneous END tags.  Another thing that could be helpful would be to report all errors rather than just the first.  Does anything like this already exist?


Matthew Pressly