https://github.com/EasyCrypt/easycrypt
Tip revision: 77802afa93cf1d638d4191a5d15d4a4b50de0102 authored by Pierre-Yves Strub on 16 February 2023, 15:28:03 UTC
Merge remote-tracking branch 'origin/main' into deploy-expected-cost
Merge remote-tracking branch 'origin/main' into deploy-expected-cost
Tip revision: 77802af
ecCommands.mli
(* -------------------------------------------------------------------- *)
open EcLocation
(* -------------------------------------------------------------------- *)
exception Restart
(* -------------------------------------------------------------------- *)
val addidir : ?namespace:EcLoader.namespace -> ?recursive:bool -> string -> unit
val loadpath : unit -> (EcLoader.namespace option * string) list
(* -------------------------------------------------------------------- *)
type notifier = EcGState.loglevel -> string Lazy.t -> unit
type checkmode = {
cm_checkall : bool;
cm_timeout : int;
cm_cpufactor: int;
cm_nprovers : int;
cm_provers : string list option;
cm_profile : bool;
cm_iterate : bool;
}
val initialize :
restart:bool
-> undo:bool
-> boot:bool
-> checkmode:checkmode
-> unit
val current : unit -> EcScope.scope
val addnotifier : notifier -> unit
(* -------------------------------------------------------------------- *)
val process : ?timed:bool -> ?break:bool ->
EcParsetree.global_action located -> float option
val undo : int -> unit
val reset : unit -> unit
val uuid : unit -> int
val mode : unit -> string
val check_eco : string -> bool
(* -------------------------------------------------------------------- *)
val pp_current_goal : ?all:bool -> Format.formatter -> unit
val pp_maybe_current_goal : Format.formatter -> unit
(* -------------------------------------------------------------------- *)
val pragma_verbose : bool -> unit
val pragma_g_prall : bool -> unit
val pragma_check : EcScope.Ax.mode -> unit
exception InvalidPragma of string
val apply_pragma : string -> unit