From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 5570EBB81 for ; Tue, 27 Sep 2005 18:39:56 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j8RGdtMT011332 for ; Tue, 27 Sep 2005 18:39:55 +0200 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 SAA32665 for ; Tue, 27 Sep 2005 18:39:55 +0200 (MET DST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.176]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j8RGdsaj011329 for ; Tue, 27 Sep 2005 18:39:54 +0200 Received: from [212.227.126.160] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1EKIUi-0001gH-00; Tue, 27 Sep 2005 18:39:52 +0200 Received: from [84.58.134.166] (helo=gate.lan.gerd-stolpmann.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1EKIUi-0008Em-00; Tue, 27 Sep 2005 18:39:52 +0200 Received: from flakew.lan.gerd-stolpmann.de (flakew.lan.gerd-stolpmann.de [192.168.0.32]) by gate.lan.gerd-stolpmann.de (Postfix) with ESMTP id 2C150C391; Tue, 27 Sep 2005 18:39:52 +0200 (CEST) Subject: Re: [Caml-list] Perl-like Regexps implemented in Ocaml? From: Gerd Stolpmann To: Jerome Vouillon Cc: Oliver Bandel , caml-list@inria.fr In-Reply-To: <20050927160551.GB12864@strontium.pps.jussieu.fr> References: <20050922224343.GA1842@first.in-berlin.de> <20050927160551.GB12864@strontium.pps.jussieu.fr> Content-Type: text/plain Date: Tue, 27 Sep 2005 18:39:49 +0200 Message-Id: <1127839191.12159.71.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:a6865a839c0178d9aa0ce41878507ea2 X-Miltered: at nez-perce with ID 433975DB.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 433975DA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 regexps:01 ocaml:01 gerd:01 stolpmann:01 vouillon:01 oliver:01 bandel:01 ocaml:01 regexp:01 regexp:01 constructors:01 seq:01 parsers:01 syntax:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.3 Am Dienstag, den 27.09.2005, 18:05 +0200 schrieb Jerome Vouillon: > Hello, > > On Fri, Sep 23, 2005 at 12:43:43AM +0200, Oliver Bandel wrote: > > Is there any Perl-like regexp-library written in OCaml? > > I wrote a fairly powerful regular expression library some years ago. > You can find it on . Very interesting, did not know this library exists. Are you still interested in developing it? I like that it is the only regexp library around that gives direct access to the regexp constructors (i.e. Re.alt, Re.seq, etc.). And there are several parsers for regexp strings. One could, for example, easily build a camlp4 frontend for easier syntax. You mention in TODO.txt that you also have a generic interface in mind. That would be really great. An application of that could be Unicode-capable regexp executor that directly operates on int arrays (as representation of Unicode strings). None of the other libraries has that. And finally to mention, libre has a thread-safe API. Other people did not succeed in making one. To encourage the usage of your library, I'll immediately make a GODI package. Gerd -- ------------------------------------------------------------ Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany gerd@gerd-stolpmann.de http://www.gerd-stolpmann.de Telefon: 06151/153855 Telefax: 06151/997714 ------------------------------------------------------------