https://github.com/EasyCrypt/easycrypt
Raw File
Tip revision: a2c11f189da68d291d48547461aff2432662e9e8 authored by François Dupressoir on 05 September 2024, 14:37:36 UTC
[ci] diversified external CI selects a valid branch
Tip revision: a2c11f1
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