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

The Caml Hump: General purpose libraries :: Strings manipulation

Open Source

LGPL

Native OCaml libraries
Cstr [12-Feb-2003, version 0.8, Beta] Has a documentation
A full-featured charset and string library.
Author: Bruno Verlyck.
Native OCaml libraries
Logger module [09-Aug-2004, Beta]
A logger module for Objective Caml.
Author: Jesse Guardiani.
Bindings with C libraries
PCRE-OCAML [09-Aug-2001, version 5.12.2] Has a Godi package
Perl compatibility regular expressions for OCaml.
Author: Markus Mottl.
Native OCaml libraries
Regexp [20-Feb-2002, version 0.3, Beta] Has a documentation
A library, entirely written in OCaml, for manipulation of regular expressions and string searching.
Author: Claude Marché.

BSD

Native OCaml libraries
Easy-format [10-Jul-2008, version 0.9.0, Beta] Has a documentation
A small library (a module in fact) that is meant to make it easy to produce pretty-printed text. The data to be printed goes through a tree that carries all the information required for pretty-printing. After that, a single call to Easy_format.Pretty.to_stdout (for instance) outputs the indented result.
Author: Martin Jambon.
Native OCaml libraries
estring [03-Nov-2008, version 0.1, Alpha]
estring, which stands for `extended strings' is a library with a syntax extension allowing to see strings as lists of characters. It also define a new safe and extensible printf/scanf facility.
Author: Jérémie Dimino.
Bindings with C libraries
LablPCRE [30-Jan-2007, version 1.0, Stable]
A binding for PCRE, providing access to the POSIX regular expression pattern matching API of PCRE, fully supporting Linux and Windows builds of PCRE versions 6.1 - 7.0. With an emphasis on simplicity and ease of use, LablPCRE offers a small-footprint interface: four functions and a handful of public methods in a returned "regresult" object.
Author: Robert Roessler.
Camlp4 extensions
Micmatch [28-Jul-2008, version 1.0.0, Stable] Has a tutorial
Micmatch is a syntax extension of the pattern matching constructs of OCaml for matching and extracting substrings with regular expressions. Micmatch tries to stay as close as possible to the spirit of OCaml. Named regular expressions can be defined. They use the syntax of ocamllex with some additions. This extension is for Camlp5.
Author: Martin Jambon.
Native OCaml libraries
ocaml-text [05-May-2009, version 0.2, Beta]
OCaml-Text is a library for dealing with ``text'', i.e. sequence of unicode characters, in a convenient way.
Author: Jérémie Dimino.
Native OCaml libraries
Oni [24-Nov-2010, version 1.00, Stable] Has a Godi package
A modular framework of Objective Caml libraries comprising general purpose utilities and functional data structures, a more flexible abstraction of the system network sockets layer than the standard library, and modules to support the development of concurrent, single-threaded network application services with a functional programming style.
Author: James Woodyatt.
Native OCaml libraries
Uucd [09-Jan-2013, version 0.9.2, Beta] Has a documentation
Uucd is an OCaml module to decode the data of the Unicode character database from its XML representation. It provides high-level (but not necessarily efficient) access to the data so that efficient representations can be extracted.
Author: Daniel Bunzli.
Native OCaml libraries
Uunf [09-Jan-2013, version 0.9.1, Beta] Has a documentation
Uunf is an OCaml module for normalizing Unicode text. It supports all Unicode normalization forms and is independent from any IO mechanism or Unicode text data structure. Text can be processed without a complete in-memory representation.
Author: Daniel Bunzli.
Native OCaml libraries
Uutf [09-Jan-2013, version 0.9.2, Beta] Has a documentation
Uutf is an non-blocking streaming Unicode codec for OCaml to decode and encode the UTF-8, UTF-16, UTF-16LE and UTF-16BE encoding schemes. It can efficiently work character by character without blocking on IO. Decoders perform character position tracking and support newline normalization. Functions are also provided to fold over the characters of UTF encoded OCaml string values and to directly encode characters in OCaml Buffer.t values.
Author: Daniel Bunzli.

Others

Native OCaml libraries
ActiveBuffer [08-Nov-2002, Development code]
This library is an extension of the Buffer library which is included in the standard OCaml distribution. Its interest is to allow to read buffers partially.
Native OCaml libraries
mldiff [08-Sep-2006, version 1.01, Stable]
mldiff is a program implementing the algorithm of "diff" (print differences between files) rewritten in ocaml. It contains also a module to compute differences between anything (not only strings).
Native OCaml libraries
OCamlAgrep [05-Feb-2002, version 1.0, Stable]
Implements the Wu-Manber algorithm for string searching with errors (like in agrep).
Author: Xavier Leroy.
Native OCaml libraries
Pprint [11-Feb-2013, Beta] Has a documentation
This is an adaptation of Daan Leijen's "PPrint" library, which itself is based on the ideas developed by Philip Wadler in "A Prettier Printer".
Native OCaml libraries
Stemmer [21-Jul-2003, version 0.1.0, Beta]
An implementation of the Porter stemming algorithm for OCaml.
Author: Erik Arneson.
Native OCaml libraries
xstr [07-Jul-2002, version 0.2.1, Beta]
Thread-safe implementation of string searching/matching/splitting.
Author: Gerd Stolpmann.