Config_file

What is Config_file ?

Config_file is an OCaml library used to manage the configuration file(s) of an application. You simply define your options and it performs the loading and saving of the options. Each option is defined from an option class (for example an "int" option) or from a combination of classes (for example to create "list of int" options).

Download

Config_file can be downloaded from the OCamlcore forge. Latest version is 1.2 and was released on 2014, march 20th.

Installation

Compilation of Config_file requires OCaml >= 4.00 to be installed.

To compile and install:

tar xvfz config-file-X.Y.tar.gz
cd config-file-X.Y
./configure
make
make install

Installation is done with findlib, as a package called "config-file".

Documentation

The ocamldoc-generated documentation can be browsed here.

An example of code using Config_file is included in the distribution.

License

Config_file is released under the LGPL version 2 or later.

Contact

Maxence Guesdon <Maxence 'DOT' Guesdon 'AT' inria 'DOT' fr>

Authors

Jean-Baptiste Rouquier, based on code by Fabrice Le Fessant and Maxence Guesdon.