config-file

The type of Configuration Parameter, in short cp, freshly parsed from a configuration file, not yet wrapped in their proper type.

type cp =
  1. | String of string
    (*

    base types, reproducing the tokens of Genlex

    *)
  2. | Int of int
  3. | Float of float
  4. | List of cp list
    (*

    compound types

    *)
  5. | Tuple of cp list
  6. | Section of (string * cp) list
val of_string : string -> cp

A parser.

val to_channel : out_channel -> cp -> unit

Used to print the values into a log file for instance.