package zelus

  1. Overview
  2. Docs
val priority_exp : Obc.exp -> int

Priorities

val priority_inst : Obc.inst -> int
val kind : Deftypes.kind -> string
val psize : int -> Stdlib.Format.formatter -> Obc.size -> unit
val print_concrete_type : Stdlib.Format.formatter -> Obc.type_expression -> unit
val ptype : Stdlib.Format.formatter -> Deftypes.typ -> unit
val immediate : Stdlib.Format.formatter -> Obc.immediate -> unit
val pattern : Stdlib.Format.formatter -> Obc.pattern -> unit
val pattern_list : Stdlib.Format.formatter -> Obc.pattern list -> unit
val pattern_comma_list : Stdlib.Format.formatter -> Obc.pattern list -> unit
val method_name : Obc.method_name -> Obc.method_name
val method_call : Stdlib.Format.formatter -> Obc.method_call -> unit

Print the call to a method

val left_value : Stdlib.Format.formatter -> Obc.left_value -> unit
val left_state_value : Stdlib.Format.formatter -> Obc.left_state_value -> unit
val assign : Stdlib.Format.formatter -> Obc.left_value -> Obc.exp -> unit
val assign_state : Stdlib.Format.formatter -> Obc.left_state_value -> Obc.exp -> unit
val access : Stdlib.Format.formatter -> Obc.primitive_access -> unit
val local : Stdlib.Format.formatter -> Zident.t -> unit
val var : Stdlib.Format.formatter -> Zident.t -> unit
val letvar : Stdlib.Format.formatter -> Zident.t -> Deftypes.typ -> Obc.exp option -> Obc.inst -> unit
val exp : int -> Stdlib.Format.formatter -> Obc.exp -> unit
val inst : int -> Stdlib.Format.formatter -> Obc.inst -> unit
val sinst : Stdlib.Format.formatter -> Obc.inst -> unit
val pat_exp : Stdlib.Format.formatter -> (Obc.pattern * Obc.exp) -> unit
val exp_with_typ : Stdlib.Format.formatter -> (Obc.exp * Deftypes.typ) -> unit
val expression : Stdlib.Format.formatter -> Obc.exp -> unit
val match_handler : Stdlib.Format.formatter -> Obc.inst Obc.match_handler -> unit
val type_decl : Stdlib.Format.formatter -> Obc.type_decl -> unit

The main entry functions for expressions and instructions

val constr_decl : Stdlib.Format.formatter -> Obc.constr_decl -> unit
val memory : Stdlib.Format.formatter -> Obc.mentry -> unit
val instance : Stdlib.Format.formatter -> Obc.ientry -> unit
val pmethod : Stdlib.Format.formatter -> Obc.method_desc -> unit
val pinitialize : Stdlib.Format.formatter -> Obc.inst option -> unit
val machine : string -> Stdlib.Format.formatter -> Obc.machine -> unit

Print a machine

val implementation : Stdlib.Format.formatter -> Obc.implementation -> unit
val implementation_list : Stdlib.Format.formatter -> Obc.implementation list -> unit