package sail

  1. Overview
  2. Docs
module Big_int = Nat_big_num
val opt_type_grouped_regstate : bool Stdlib.ref
val defs_of_string : string -> unit Ast.defs
val is_defined : 'a Ast.def list -> string -> bool
val has_default_order : 'a Ast.def list -> bool
val find_registers : Type_check.tannot Ast.def list -> (Ast.typ * Ast.id) list
val generate_register_id_enum : ('a * Ast.id) list -> string list
val id_of_regtyp : Ast_util.IdSet.t -> bool -> Ast.typ -> Ast.id
val regstate_field : Ast.typ -> Ast.id
val generate_regstate : (Ast.typ * Ast.id) list -> unit Ast.defs
val generate_initial_regstate : Type_check.tannot Ast.def list -> unit Ast.defs list
val regval_constr_id : bool -> Ast.typ -> Ast.id
val register_base_types : bool -> Ast.typ list -> Ast.typ Ast_util.Bindings.t
val generate_regval_typ : Ast.typ Ast_util.Bindings.t -> unit Ast.defs list
val add_regval_conv : Ast.id -> Ast.typ -> unit Ast.defs -> unit Ast.defs
val regval_convs_lem : bool -> Ast.typ -> string * string
val register_refs_lem : bool -> (Ast.typ * Ast.id) list -> PPrint.document
val generate_isa_lemmas : bool -> Type_check.tannot Ast.defs -> PPrint.document
val regval_convs_coq : Ast.typ -> string * string
val register_refs_coq : (Ast.typ * Ast.id) list -> PPrint.document
val generate_regstate_defs : bool -> Type_check.tannot Ast.def list -> unit Ast.defs
OCaml

Innovation. Community. Security.