1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
OCaml-Text
Jeremie Dimino <jeremie@dimino.org>
February 2009
url: https://forge.ocamlcore.org/projects/ocaml-text/
* What it is ?
OCaml-Text is a library for dealing with ``text'', i.e. sequence of
unicode characters, in a convenient way
It supports:
- character encoding/decoding using iconv
- manipulation of text as UTF-8 encoded strings
- localised text functions such as compare, upper, ...
- human readable regular expression inside patterns
In order to be the compatible with other ocaml library without pain,
OCaml-Text choose to use only regular strings for dealing with text.
* Requirement
OCaml-Text needs ocaml >= 3.11 and libiconv. It require also pcre
bindings for ocaml to have regular expression support.
* Building and installation
To build and install it just type:
$ make all
$ make install
This will install the "text" package (ocamlfind is required), and the
"text.pcre" if compiled with support for pcre.
* Development
The last development version of ocaml-text can always be found in the
darcs repository hosted at darcs.ocamlcore.org:
$ darcs get http://darcs.ocamlcore.org/repos/ocaml-text/ocaml-text
local variables:
mode: outline
end:
|