package smtml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type op_type = [
  1. | `Unop of Ty.unop
  2. | `Binop of Ty.binop
  3. | `Relop of Ty.relop
  4. | `Triop of Ty.triop
  5. | `Cvtop of Ty.cvtop
  6. | `Naryop of Ty.naryop
]
exception DivideByZero
exception Value of Ty.t
exception TypeError of {
  1. index : int;
  2. value : Value.t;
  3. ty : Ty.t;
  4. op : op_type;
}
val unop : Ty.t -> Ty.unop -> Value.t -> Value.t
val binop : Ty.t -> Ty.binop -> Value.t -> Value.t -> Value.t
val triop : Ty.t -> Ty.triop -> Value.t -> Value.t -> Value.t -> Value.t
val relop : Ty.t -> Ty.relop -> Value.t -> Value.t -> bool
val cvtop : Ty.t -> Ty.cvtop -> Value.t -> Value.t
val naryop : Ty.t -> Ty.naryop -> Value.t list -> Value.t
OCaml

Innovation. Community. Security.