https://github.com/EasyCrypt/easycrypt
Tip revision: 800082d3d29f5599abc0caf0358af17d077ef090 authored by Pierre-Yves Strub on 07 December 2022, 08:27:42 UTC
EasyCrypt Listing(Latex)
EasyCrypt Listing(Latex)
Tip revision: 800082d
ecTerminal.mli
(* -------------------------------------------------------------------- *)
type terminal
type status = [
| `ST_Ok
| `ST_Failure of exn
]
type loglevel = EcGState.loglevel
(* -------------------------------------------------------------------- *)
val interactive : terminal -> bool
val next : terminal -> EcParsetree.prog
val notice : immediate:bool -> loglevel -> string -> terminal -> unit
val finish : status -> terminal -> unit
val finalize : terminal -> unit
val setwidth : terminal -> int -> unit
(* -------------------------------------------------------------------- *)
type progress = [ `Human | `Script | `Silent ]
val from_channel :
?gcstats:bool
-> ?progress:progress
-> name:string
-> in_channel
-> terminal
val from_tty : unit -> terminal
val from_emacs : unit -> terminal