[antlr-interest] case sensitivity for ANTLR v3 lexers

Don Caton dcaton at shorelinesoftware.com
Tue May 16 16:09:25 PDT 2006


Ter:

> All error strings are in a template group now :)  People will 
> be able to send in their language.stg files and errors will 
> come out in the locale's strings. :)  All ST stuff allows 
> char encoding ...

Not sure what that means.  I looked at ST a few times but I never really
grokked it.  Your "about" article talks mostly about web page generation,
and there's no C++ version to play with, so I really had no reason to look
at it any further.

I understand that you're using ST to generate code in 3.0, but how is that
relevant at runtime?  Will ST be required at runtime as well?

All I'm really looking for is an overridable "getErrorString()" method, or
something like that, so I can supply an appropriate error message depending
on the end user's locale.  The default implementation could use the English
messages, please just allow some clean way of overriding them at runtime.

Don




More information about the antlr-interest mailing list