Module Brzo_ocaml_conf

Brzo OCaml domain configuration.

OCaml configuration

include Brzo.Pre_domain.CONF
type t

The type for domain specific configurations.

val tid : t B00_std.Tid.t

tid is a type identifier for the configuration.

keys is the set of keys that are allowed to be part of the domain specific BRZO file dictionary.

parse is a function that parses the BRZO file domain specific dictionary into a configuration.

parse_with_cli is a cmdliner term that has the command line interface for the configuration and a function that given the configuration s-expression dictionary for the domain should derive the configuration appropriately (basically it should do the job of merging cli and file specified configuration desires).

val pp : t B00_std.Fmt.t

pp formats configurations.

type target = [
| `Byte
| `Html
| `Native
| `Node
]

The type for OCaml compilation targets.

val target_to_string : target -> string

target_to_string t is t as a string token.

val default_target : default_native_if:B00.Tool.t -> B00.Memo.t -> target option -> target B00_std.Fut.t
val target : t -> target option
val ocamlpath : t -> B00_std.Fpath.t list
val libs : t -> B00_std.Fpath.t list
val lock_libs : t -> bool