[antlr-interest] Unicode support in both v2.7 and v3
madcapmaggie at yahoo.com
Mon Jun 4 08:56:12 PDT 2007
There is an example of unicode support for cpp in the examples directory for both antlr-2.7.6 and antlr-2.7.7. I used this to add UTF-8 support to antlr-2.7.6 and 2.7.7 for the c++ target. We have been using this successfully for some time.
YiQing Yang <yiqing at objectivity.com> wrote: Hi,
I am trying to use ANTLR to generate a query parser in C++. Since C++ is not supported yet by v3, I am trying v2.7.6 right now. I would like to know how the Unicode is supported in both v2.7 and v3. Does it support the input stream which is a wchar_t*? Which UTF encoding formats does it support (UTF8, UTF16, UTF32)? From the Reference Manual for v2, it seems that Unicode is not fully supported yet and claims that v3 will have a better Unicode support. Is Unicode fully supported in v3?
I am new to ANTLR. Sorry if those questions have been answered before.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest