swh:1:snp:6d793aeab171a5710c1817dc2536aa4c79222a27
Raw File
Tip revision: 5489c23a90aa3c05db4ce65a53cd4a653d1dead1 authored by Pierre-Yves Strub on 29 June 2022, 16:01:28 UTC
Dependent version of the multi-rnd tactic
Tip revision: 5489c23
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
back to top