Yes. Use the 16 bit input stream. You will have to convert some encoding such as utf8 using the built in rintsime routines. Next release I plan to provide a universal input stream where you just say what the encoding is and the size in bytes.
Internally ANTLR operres on 32 bit integers so it is all covered Jim On Jun 22, 2009, at 3:56 AM, "Ajit" <[email protected]> wrote: > Hello, > Can ANTLR generated Parser or Lexer in C lanuage support unicode? > like lexer accept unicode string as input, parser can parse this > lexer. > > > Thanks > Ajit > > > > Ajit V. Shinde > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
