This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Query on UTF-32 encodings for letters
>>>>> "Robert" == Robert Dewar <dewar@adacore.com> writes:
Robert> Looks to me like I have to spin my own here :-(
For gcj we have a perl script (gcc/java/gen-table.pl) that reads the
unicode database and writes out C code that is used by the lexer. We
did it by hand because we wanted to ensure that our use matched what
is in the current java spec. I don't know what Ada needs, but this
approach has worked well for us. We use something similar for libgcj;
it is more complicated, though, since the library needs more
information than the compiler.
Tom