[antlr-interest] Do you know how to work it out?
Terence Parr
parrt at cs.usfca.edu
Wed Apr 18 12:39:47 PDT 2007
On Apr 18, 2007, at 10:34 AM, Loring Craymer wrote:
> You can ignore the error message; ANTLR error messages
> are configurable, but only English is supported at the
> moment. Under org/antlr/tools/messages/languages you
> will find en.stg. In theory, you could create a
> zh.stg with Chinese error messages and put it in this
> directory. In practice, that would not
> work--StringTemplate would have to be modified to read
> unicode input first.
Really? Works no problem. Even have a unit test. You can even
specify the encoding. :) The stuff outside of <...> and $...$
expressions can be anything. I ignore it.
Ter
More information about the antlr-interest
mailing list