[stringtemplate-interest] which ST errors are serious
Terence Parr
parrt at cs.usfca.edu
Mon Nov 30 17:26:47 PST 2009
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?
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.
Ter
On Nov 30, 2009, at 5:24 PM, John D. Mitchell wrote:
> Hey Ter,
>
> I need the ability to have a "strict" mode that throws errors/
> exceptions. Otherwise all of the messages being sent to the logs may
> or may not get looked at someday but someone with no clue. <think: big
> team>
>
> This is one of the *huge* problems with e.g., xslt approaches. The POS
> just dumps out worthless, broken, etc. content that ends up discovered
> by e.g., users.
>
> Having the configurable listeners is nice to deal with logging.
>
> FWIW,
> John
>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list