English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2000-12-11 (17:21)
From: John Max Skaller <skaller@o...>
Subject: Re: features of PCRE-OCaml
Alain Frisch wrote:
> Have a look at wlex:
> http://www.eleves.ens.fr:8080/home/frisch/soft
> http://www.eleves.ens.fr:8080/home/frisch/info/wlex-20001006.tar.gz

	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, 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