estring - extension for string literals
Estring is a syntax extension which aims to make the use of custom string types more convenient.
The idea is to replace this kind of code:
(My_string.of_string "string literals")
For building the development version, you also need to install oasis (>= 0.3.0).
To build and install estring:
$ ./configure $ make $ make install
To build the documentation:
$ make doc
It will then be installed by
To build and execute tests:
$ ./configure --enable-tests $ make test
Files in the "sample" directory show how to define string convertors.
For the distribution of your project, you can either add a dependency to the estring package or embed it in your sources. Several instances of estring can work together so this will not break anything.