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.4.tar.gz
sha256=4098b9d5d1facd20325332939d7167d54f6dd612e4915df5eebfda90eb027997
sha512=70bbb4d7ff41e165cd9b61b53bd554aba362bd51728dc3d366ce0fa0ed88dc68d58345d995188793a7220d7779eea4d5433257011a77c58e3f4498839544acf4

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.