package mdx
-
mdx.top
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Toplevel logic for mdx
.
val init :
verbose:bool ->
silent:bool ->
verbose_findlib:bool ->
directives:directive list ->
packages:string list ->
predicates:string list ->
unit ->
t
init ()
is a new configuration value.
val eval : t -> string list -> (string list, string list) Result.result
eval t p
evaluates the toplevel phrase p
(possibly spawning on mulitple lines) with the configuration value t
.
val in_env : Mdx.Ocaml_env.t -> (unit -> 'a) -> 'a