Fwd: [antlr-interest] ANTLR, C++ and UNICODE

Ric Klaren ric.klaren at gmail.com
Tue Jan 25 01:57:11 PST 2005


Can people stop posting to the yahoogroups thing !? Although it's
already pretty stupid of yahoo that for some it seems to work and for
me the reply bounces....

---------- Forwarded message ----------
From: Ric Klaren <ric.klaren at gmail.com>
Date: Tue, 25 Jan 2005 08:46:48 +0100
Subject: Re: [antlr-interest] ANTLR, C++ and UNICODE
To: antlr-interest at yahoogroups.com

On Mon, 24 Jan 2005 14:37:33 -0800 (PST), Peggy Fieland
<madcapmaggie at yahoo.com> wrote:
> What is the state of UNICODE support for ANTLR C++
> mode?  I need to support UNICODE input.  Is there a
> patch I can apply?

2.7.5 prereleases contain an example that adds some unicode support.
It basically shows a CharScanner subclass that can deal with UTF8 on
the input side, it's more a proof of concept than production code. I
guess that if the codegen changes are sufficient one could turn it
into something usable in production environment.

I requested feedback for it a while back with a snapshot release.
Since no feedback ever came on the subject of the unicode I did not do
anything further with it (I myself have no real stuff to test unicode
with, so I need some community involvement to help testing/fleshing it
out to something usable)

Since we're in the 2.7.5 prerelease track and 2.7.5 will go out any
moment the last configure/makefile tweaks are done, 2.7.5 will
probably not see good unicode support. 2.7.6 might if people provide
feedback.

Cheers,

Ric


More information about the antlr-interest mailing list