Imandra_interactive.Tlcontext
module Sync_queue = Imandra_thread_util.Sync_queue
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 :
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
val code_to_exec : Imandra_surface.Code_fragment.t Sync_queue.t
Queue of code fragments to execute
val side_loaded_events : Imandra_surface.Event.t Sync_queue.t
Events that are produced as a side effect of program-mode execution