Related articles |
---|
Adding UTF8 IDENTIFIERS to Flex seescreen@gmail.com (SeeScreen) (2009-10-24) |
Re: Adding UTF8 IDENTIFIERS to Flex haberg_20080406@math.su.se (Hans Aberg) (2009-10-25) |
From: | Hans Aberg <haberg_20080406@math.su.se> |
Newsgroups: | comp.compilers |
Date: | Sun, 25 Oct 2009 11:06:37 +0100 |
Organization: | A noiseless patient Spider |
References: | 09-10-030 |
Keywords: | lex, i18n |
Posted-Date: | 25 Oct 2009 13:23:35 EDT |
SeeScreen wrote:
> The solution is based on the GREEN portions of the first chart shown
> on this link:
> http://www.w3.org/2005/03/23-lex-U
I hacked together this, which converts Unicode character ranges to Flex
like expressions:
http://lists.gnu.org/archive/html/help-flex/2005-01/msg00043.html
(For single characters <char>, one can just feed a UTF-8 .l file to Flex
in 8-bit mode, with "<char>" expressions.)
Hans
Return to the
comp.compilers page.
Search the
comp.compilers archives again.