https://github.com/EasyCrypt/easycrypt
Tip revision: 8ce5c7ad9c68d55e67c96c46a7fc35746c3e6710 authored by Pierre Boutry on 02 September 2022, 14:10:48 UTC
Merge branch 'deploy-oldlibs-cleanup' of github.com:EasyCrypt/easycrypt into deploy-oldlibs-cleanup
Merge branch 'deploy-oldlibs-cleanup' of github.com:EasyCrypt/easycrypt into deploy-oldlibs-cleanup
Tip revision: 8ce5c7a
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