package scfg

  1. Overview
  2. Docs
OCaml library and executable to work with the scfg configuration file format

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.5.tar.gz
sha256=930e04c7b16fcc81e203725324ea6ace6586080f53fb87ea24c0e163588c7614
sha512=753645f5c904d48dd67dceeca12408d8bb3d9ca80ae57e9600573cf2600031c2b661cfcd70331d48cb171ce445e4826e31304ec9796ba424932bba453096c6bb

doc/scfg/Scfg/Pp/index.html

Module Scfg.PpSource

Module providing functions to pretty print a config or parts of a config.

Sourceval param : Format.formatter -> string -> unit

Print a name or a parameter on a given formatter. The function will try to print with as low quoting as possible.

Sourceval params : Format.formatter -> string list -> unit

Print a list of parameters on a given formatter.

Sourceval children : Format.formatter -> Types.config -> unit

Print children of a directive on a given formatter.

Print a directive on a given formatter.

Sourceval config : Format.formatter -> Types.config -> unit

Print a config on a given formatter.