Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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:
> Have a look at wlex:

	Thanks ...
> << This package consists of a lexer generator and the associated runtime
> system. The new lexing model adds a "classification" layer between the
> lexbuf and the lexer itself. This layer classifies characters from the
> lexbuf into a few number of classes, on which the regexps in the lexer
> specification are built.
>  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.

> wlex is distributed as a patch to ocamllex.

	That's always a worry. Am I confused: does it change the
Ocaml source tree in place, or just copy bits of it and patch them?
Why is Findlib required? (Thats a patch too, isn't it?)

John (Max) Skaller,
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
checkout Vyper
download Interscript