Re: Multibyte/Wide Character Sets and Lex.

pjbumbul@math.uwaterloo.ca (Peter Bumbulis)
13 Feb 1996 00:08:13 -0500

          From comp.compilers

Related articles
Multibyte/Wide Character Sets and Lex. juliano@SYDPO4.AUS.unisys.com (Orbach, Julian ACUS) (1996-02-09)
Re: Multibyte/Wide Character Sets and Lex. colas@aye.inria.fr (1996-02-09)
Re: Multibyte/Wide Character Sets and Lex. sharris@fox.nstn.ca (Sandy Harris) (1996-02-10)
Re: Multibyte/Wide Character Sets and Lex. schwartz@galapagos.cse.psu.edu (1996-02-12)
Re: Multibyte/Wide Character Sets and Lex. pjbumbul@math.uwaterloo.ca (1996-02-13)
Re: Multibyte/Wide Character Sets and Lex. fjh@cs.mu.OZ.AU (1996-02-13)
Re: Multibyte/Wide Character Sets and Lex. peter@csgrs6k1.uwaterloo.ca (1996-02-14)
Re: Multibyte/Wide Character Sets and Lex. mparks@oz.net (Michael Parkes) (1996-02-14)
Re: Multibyte/Wide Character Sets and Lex. jfc@mit.edu (1996-02-14)
| List of all articles for this month |

From: pjbumbul@math.uwaterloo.ca (Peter Bumbulis)
Newsgroups: comp.compilers
Date: 13 Feb 1996 00:08:13 -0500
Organization: University of Waterloo
References: 96-02-065 96-02-099
Keywords: lex, i18n

>"Orbach, Julian ACUS" <juliano@SYDPO4.AUS.unisys.com> writes:
>re2c does not handle 16-bit wide chars, but it is the only lexer I
>know that does not use arrays (but it uses big C switches statements,
>which may be a worse idea in your case, I dont know...).


re2c can translate switch statements into nested ifs (usually a
performance win.) Adapting re2c to handle 16-bit wide chars is
straightforward (but tedious.)


Peter
--


Post a followup to this message

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