Version française
Home     About     Download     Resources     Contact us    
Browse thread
features of PCRE-OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Max Skaller <skaller@o...>
Subject: Re: features of PCRE-OCaml
Alain Frisch wrote:
> 
> On Sat, 9 Dec 2000, John Max Skaller wrote:
> 
> > > Have a look at wlex:
> > >  This reduces the number of states and transitions in the automaton,
> >
> >       No, it has no effect on the number of states (rows of the
> > DFA matrix). It reduces the number of columns.
> 
> Yes it does: the extra classification layer may consume more than one
> character in the lexbuf. When you parse UTF-8 with ocamllex, you have
> "waiting" states in the automaton corresponding to multibyte encoded code
> points.

	You're right. I've since downloaded wlex and given it
a whirl. Good stuff!


-- 
John (Max) Skaller, mailto:skaller@maxtal.com.au
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
checkout Vyper http://Vyper.sourceforge.net
download Interscript http://Interscript.sourceforge.net