-
Notifications
You must be signed in to change notification settings - Fork 4
/
README
51 lines (33 loc) · 1.37 KB
/
README
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
48
49
50
51
OCaml-Text
Jeremie Dimino <[email protected]>
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:
$ ocaml setup.ml -configure
$ ocaml setup.ml -build
$ ocaml setup.ml -install
This will install the "text" package (ocamlfind is required), and the
"text.pcre" if compiled with support for pcre.
If you get the development version you must obtain oasis
(http://oasis.forge.ocamlcore.org/).
* 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
local variables:
mode: outline
end: