https://github.com/EasyCrypt/easycrypt
Tip revision: 6a16de3ee58f0fc4faf420915e7d289f6574bd08 authored by François Dupressoir on 13 June 2022, 15:46:00 UTC
Fiddling with goal generation
Fiddling with goal generation
Tip revision: 6a16de3
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