README 2.1 KB
Newer Older
gerd's avatar
gerd committed
1 2 3
This is a camlp4 extension that expands brace expansions like a shell
does. See sample.ml for examples.

gerd's avatar
gerd committed
4
You need findlib to 'make install'; AT LEAST VERSION 0.4 OF FINDLIB!
gerd's avatar
gerd committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

BUILD:

Just type "make all" to compile the sources.

INSTALL:

The module can be installed using the installation method supported by the
"findlib" module. If you have installed "findlib", a "make install" copies
the compiled files to their standard places. The package name is then
"xstrp4".

If you do not have "findlib", just copy the files manually where you like
them.

gerd's avatar
gerd committed
20 21 22 23
HOW TO USE IT:

See sample.ml for explanations. See the Makefile how to compile sample.ml.

gerd's avatar
gerd committed
24 25 26 27 28 29
KNOWN BUGS:

Errors reported by xstrp4 are usually off by 2 (for O'Caml 3.10). This
is O'Caml bug #4357 (http://caml.inria.fr/mantis/view.php?id=4357).


gerd's avatar
gerd committed
30
CHANGES:
31 32 33
Changed in version 1.8.1:
        Patching the version string in the META file

gerd's avatar
gerd committed
34 35 36
Changed in version 1.8:
	Removal of the support for O'Caml 3.09 and earlier.
	Integrating Sylvain's record access patch.
gerd's avatar
gerd committed
37

gerd's avatar
gerd committed
38 39 40
Changed in version 1.7:
	Porting to O'Caml 3.10. Still works for older O'Caml versions.

gerd's avatar
gerd committed
41 42 43 44
Changed in version 1.6:
	Setting the name of the location variable explicitly
	because the default changed in O'Caml 3.09.

gerd's avatar
gerd committed
45 46 47 48 49
Changed in version 1.5:
	Fixes for O'Caml 3.08. There is still a known problem:
	Locations in error messages may be wrong for <:here< ... >>.
	This seems to be a bug in camlp4.

gerd's avatar
gerd committed
50 51 52
Changed in version 1.4:
	Better code is generated. (Suggested by Mike Potanin.)

gerd's avatar
gerd committed
53 54 55 56
Changed in version 1.3:
	The backslash sequences \DDD and \xXX are recognized,
	e.g. \033 or \x21. (Suggested by Mike Potanin.)

gerd's avatar
gerd committed
57 58 59 60
Changed in version 1.2:
	The printf qualifiers L, l, n are now supported, e.g.
        ${x,%ld} for an int32 variable x. (Suggested by Nadj.)

gerd's avatar
gerd committed
61 62 63
Changed in version 1.0:
	Support for findlib-0.4

gerd's avatar
gerd committed
64 65 66
Changed in version 0.1.1:
	Updated the URLs in documentation.

gerd's avatar
gerd committed
67 68 69
AUTHOR:

The module has been written by Gerd Stolpmann, 
gerd's avatar
gerd committed
70
gerd@gerd-stolpmann.de
gerd's avatar
gerd committed
71 72

You can download it from 
gerd's avatar
gerd committed
73
http://www.ocaml-programming.de/packages/.
gerd's avatar
gerd committed
74 75

This module has an entry in the O'Caml link database,
gerd's avatar
gerd committed
76
http://links.camlcity.org/
gerd's avatar
gerd committed
77

gerd's avatar
gerd committed
78 79
Subversion:
See https://godirepo.camlcity.org/svn/