You can use anything that Java can use, but when using such characters in the lexer, you are best advised to spell them out as the unicode code point escape sequence such as:
CHARS: '\u1234\u3455' ; Because when you perform actions like cutting and pasting to documents and so on, various programs will transform non ASCII characters to invalid sequences and otherwise screw up. Jim > -----Original Message----- > From: [email protected] [mailto:antlr-interest- > [email protected]] On Behalf Of Prados Valiente Enrique > Sent: Friday, September 03, 2010 2:48 AM > To: [email protected] > Subject: [antlr-interest] Characters ISO-8859-1 in grammars > > Hi all, > > > > Can I use characters like > > > > http://www.parthia.com/fonts/crossfont_test_ISO-8859-1.htm > > > > À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö × Ø Ù Ú Û Ü Ý Þ ß > > > > > > In my gramar ¿? > > > > Any samples, please ¿? > > > > > > > > > List: http://www.antlr.org/mailman/listinfo/antlr-interest > Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your- > email-address 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.
