From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA18831 for caml-red; Mon, 11 Dec 2000 18:21:03 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA19155 for ; Fri, 8 Dec 2000 19:12:32 +0100 (MET) Received: from localhost.localdomain (ppp166.dyn147.pacific.net.au [210.23.147.166]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id eB8ICR528018 for ; Fri, 8 Dec 2000 19:12:29 +0100 (MET) Received: from ozemail.com.au (IDENT:root@localhost [127.0.0.1]) by localhost.localdomain (8.9.3/8.8.7) with ESMTP id FAA29684; Sat, 9 Dec 2000 05:11:28 +1100 Message-ID: <3A312450.DCAACA78@ozemail.com.au> Date: Sat, 09 Dec 2000 05:11:28 +1100 From: John Max Skaller X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: Alain Frisch CC: OCAML Subject: Re: features of PCRE-OCaml References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: weis@pauillac.inria.fr 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