swh:1:snp:6d793aeab171a5710c1817dc2536aa4c79222a27
Raw File
Tip revision: 5e518dd03da0c1c629c1f8468d5b3a4207ef1151 authored by Antoine Séré on 28 July 2022, 23:00:05 UTC
Many List lemmas added
Tip revision: 5e518dd
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