[stringtemplate-interest] which ST errors are serious
John D. Mitchell
jdmitchell at gmail.com
Mon Nov 30 17:31:49 PST 2009
On Nov 30, 2009, at 17:26 , Terence Parr wrote:
> cool. so instead of just emitting an error, you want it to actually
> throw an exception that terminates ST the evaluation or are you just
> saying let's make a PENDANTIC value that make sure an error is
> emitted for everything?
Yes.
I.e., both but I think "STRICT" is a better term to use. Non-language
people are clueless. :-)
> I think you are saying we need a way to get the programmers
> attention beyond emitting an error message. I think the only way to
> escalate though is to throw an exception and blast out of the
> interpreter back to the webpage servlet or whatever.
Yes, there needs to be a real exception thrown.
Sorry for the extra hassle but I can show you some xslt templating
crap that would make you cry and so it's clear that people will abuse
and ignore things to a degree that destroys systems.
Rock on,
John
More information about the stringtemplate-interest
mailing list