[antlr-interest] Using unicode in *.g file

Johannes Luber jaluber at gmx.de
Mon Jan 14 14:44:32 PST 2008


Dmitry Gusev schrieb:
> Why this isn't supported?
> 
> In order to use Russian words as tokens I should write them as unicode 
> escape sequences \u00xx blah blah
> Thats very inconvenient, is it possible to fix this somehow?

Unfortuantely, ANTLR still parses *.g files with ANTLR 2.7.7, which 
doesn't support unicode characters directly. Ter is working on a 
solution, but this while take a while. Maybe 3.2 has this feature.

Johannes


More information about the antlr-interest mailing list