Imandra_interactive.Tlcontext
Toplevel globals and low-level contextual book-keeping
type exec_level =
| INTERACT | (* toplevel / interactive interpreter *) |
| NO_INTERP | (* no interpreter, e.g., for -d(ependency) *) |
Mode of execution (interactive or not)
Environment for logical statement extraction. Isomorphic to, but disjoint from, toplevel_env
val exec_level : exec_level Stdlib.ref
val update_exec_level : exec_level -> unit
Parse, type, and scope a string into an Imandra term
val syn_term_of_string :
?db:Imandra_surface.DB.t ->
scope:Opentelemetry.Trace.scope option ->
string ->
Imandra_surface.Term.Syn.t
Parse, type, and scope a string into an Imandra syntactic term
val execute_phrase :
?quiet:bool ->
?out:Stdlib.Format.formatter ->
input:Imandra_util.Iloc.Input.t ->
Parsetree.toplevel_phrase ->
bool
execute_phrase p
executes the given parsetree phrase (directive or OCaml structure) and returns true
upon success, false
upon failure.
Parse and evaluate a string containing Imandra code.
module Gist : sig ... end
Events that are produced as a side effect of program-mode execution