package scfg

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

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/scfg/Scfg/Parse/index.html

Module Scfg.ParseSource

Module providing functions to parse a config from various kind of inputs.

Sourceval pp_token : Format.formatter -> Scfg.Menhir_parser.token -> unit

Pretty print a token

Sourceval from_lexbuf : Sedlexing.lexbuf -> (Types.config, [> `Msg of string ]) result

Parse a config from a lexing buffer.

Sourceval from_string : string -> (Types.config, [> `Msg of string ]) result

Parse a config from a string.

Sourceval from_channel : in_channel -> (Types.config, [> `Msg of string ]) result

Parse a config from a channel.

Sourceval from_file : Fpath.t -> (Types.config, [> Rresult.R.msg ]) result

Parse a config from a file.

OCaml

Innovation. Community. Security.