package scfg

  1. Overview
  2. Docs

Module Scfg.ParseSource

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

Sourceval from_lexbuf : Sedlexing.lexbuf -> (Types.config, string) result

Parse a config from a lexing buffer.

Sourceval from_string : string -> (Types.config, string) result

Parse a config from a string.

Sourceval from_channel : in_channel -> (Types.config, string) result

Parse a config from a channel.

Sourceval from_file : string -> (Types.config, string) result

Parse a config from a file.

OCaml

Innovation. Community. Security.