Unicode lexical analisis and parsing with flex and bison in C++?

"Craig Hobbs" <craigh@visio.com>
12 Jan 1998 00:11:54 -0500

          From comp.compilers

Related articles
Unicode lexical analisis and parsing with flex and bison in C++? craigh@visio.com (Craig Hobbs) (1998-01-12)
Re: Unicode lexical analisis and parsing with flex and bison in C++? henry@zoo.toronto.edu (Henry Spencer) (1998-01-13)
Re: Unicode lexical analisis and parsing with flex and bison in C++? schwartz@finch.cse.psu.edu (1998-01-14)
| List of all articles for this month |

From: "Craig Hobbs" <craigh@visio.com>
Newsgroups: comp.compilers
Date: 12 Jan 1998 00:11:54 -0500
Organization: Northwest Nexus Inc.
Keywords: i18n, lex

I'd imagine (although I haven't tried it) that one would need to
modify the generated code to use wchar_t instead of char. Anybody
tried this or gotten it to work?


Are there any similar C++ tools which support Unicode input?


Craig
[It's not that simple, lex uses character values as indexes into
arrays, and you might not want to have a lot of 64K arrays in your
code. I believe that Plan 9 has a unicode version of lex, might want
to see what they did. -John]






--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.