Imandra_interactive.TlcontextToplevel 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.refval update_exec_level : exec_level -> unitParse, 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.tParse, 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 ->
boolexecute_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 ... endEvents that are produced as a side effect of program-mode execution