package dolmen_loop

  1. Overview
  2. Docs
include Typer_intf.Types with type state := State.t with type ty := Expr.ty with type ty_var := Expr.ty_var with type ty_cst := Expr.ty_cst with type ty_def := Expr.ty_def with type term := Expr.term with type term_var := Expr.term_var with type term_cst := Expr.term_cst with type formula := Expr.formula
type env
type input = [
  1. | `Logic of Logic.language State.file
  2. | `Response of Response.language State.file
]
type lang = [
  1. | `Logic of Logic.language
  2. | `Response of Response.language
]
type decl = [
  1. | `Type_decl of Expr.ty_cst * Expr.ty_def option
  2. | `Term_decl of Expr.term_cst
]
type def = [
  1. | `Type_alias of Dolmen.Std.Id.t * Expr.ty_cst * Expr.ty_var list * Expr.ty
  2. | `Term_def of Dolmen.Std.Id.t * Expr.term_cst * Expr.ty_var list * Expr.term_var list * Expr.term
  3. | `Instanceof of Dolmen.Std.Id.t * Expr.term_cst * Expr.ty list * Expr.ty_var list * Expr.term_var list * Expr.term
]
type 'a ret = {
  1. implicit_decls : decl list;
  2. implicit_defs : def list;
  3. ret : 'a;
}
val reset : State.t -> ?loc:Dolmen.Std.Loc.t -> unit -> State.t
val reset_assertions : State.t -> ?loc:Dolmen.Std.Loc.t -> unit -> State.t
val push : State.t -> input:input -> ?loc:Dolmen.Std.Loc.t -> int -> State.t
val pop : State.t -> input:input -> ?loc:Dolmen.Std.Loc.t -> int -> State.t
val set_logic : State.t -> input:input -> ?loc:Dolmen.Std.Loc.t -> string -> State.t * Dolmen_type.Logic.t
val decls : State.t -> input:input -> ?loc:Dolmen.Std.Loc.t -> ?attrs:Dolmen.Std.Term.t list -> Dolmen.Std.Statement.decls -> State.t * decl list ret
val defs : mode:[ `Create_id | `Use_declared_id ] -> State.t -> input:input -> ?loc:Dolmen.Std.Loc.t -> ?attrs:Dolmen.Std.Term.t list -> Dolmen.Std.Statement.defs -> State.t * def list ret
val terms : State.t -> input:input -> ?loc:Dolmen.Std.Loc.t -> ?attrs:Dolmen.Std.Term.t list -> Dolmen.Std.Term.t list -> State.t * Expr.term list ret
val formula : State.t -> input:input -> ?loc:Dolmen.Std.Loc.t -> ?attrs:Dolmen.Std.Term.t list -> goal:bool -> Dolmen.Std.Term.t -> State.t * Expr.formula ret
val formulas : State.t -> input:input -> ?loc:Dolmen.Std.Loc.t -> ?attrs:Dolmen.Std.Term.t list -> Dolmen.Std.Term.t list -> State.t * Expr.formula list ret
val typing_wrap : ?attrs:Dolmen.Std.Term.t list -> ?loc:Dolmen.Std.Loc.t -> input:input -> State.t -> f:(env -> 'a) -> State.t * 'a
OCaml

Innovation. Community. Security.