[antlr-interest] Handling unicode strings in ANTLR
Peggy Fieland
madcapmaggie at yahoo.com
Mon Jan 2 09:59:11 PST 2006
You specify the CharVocabulary to include all valid
unicode characters. If you're generating JAVA that's
pretty much it. I don't know if version 2.7.6 has the
Unicode C++ support built in or not -- in any case
there's a unicode example in the antlr distribution
examples.
Peggy
--- Navin Sinha <navinksinha at lycos.com> wrote:
> Hi,
> We have used ANTLR to write a translator for a new
> programming language, Indus - an agent-oriented
> programming language for distributed systems. We are
> working on internationalistion of the application.
> We want user-defined strings in different languages
> to be treated by the ANTLR-based parser as string
> literals and ensure that these strings are displayed
> properly by the user interfaces.
>
> Can anyone let me know how this can be done ?
>
> Thanx,
> Navin
>
> --
> _______________________________________________
>
> Search for businesses by name, location, or phone
> number. -Lycos Yellow Pages
>
>
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
>
>
More information about the antlr-interest
mailing list