[antlr-interest] Support to Ter, questions

Gavin Lambert antlr at mirality.co.nz
Tue Jul 3 05:32:47 PDT 2007


At 00:13 4/07/2007, Micheal J wrote:
 >The ANTLR tool itself (even in V3) does not accept unicode input 

 >files.

Just to clarify a bit: ANTLR v3 generated parsers/lexers can 
handle unicode input.  However the grammar file used to generate 
those parsers/lexers in the first place cannot directly contain 
unicode.

The reason for this is that the grammar parser in ANTLR v3 is 
still using ANTLR v2, which doesn't support unicode.  Once Ter has 
rewritten it using v3 itself (which he said he's working on at the 
moment) then this restriction should be lifted.

(Which is I'm sure what Michael was saying; it just sounded a 
little confusingly worded to me.)



More information about the antlr-interest mailing list