[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Gerd Stolpmann <info@g...> |
| Subject: | Re: [Caml-list] Perl-like Regexps implemented in Ocaml? |
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 <http://sourceforge.net/projects/libre/>. 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 ------------------------------------------------------------