package zelus

  1. Overview
  2. Docs
val immediate : Stdlib.Format.formatter -> Obc.immediate -> unit
val default_list_of_methods : string list
val constructor_for_kind : Deftypes.kind -> string
val extra_methods : string list -> string list
val expected_list_of_methods : Deftypes.kind -> string list
val print_concrete_type : Stdlib.Format.formatter -> Obc.type_expression -> unit
val ptype : Stdlib.Format.formatter -> Deftypes.typ -> 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_call : Stdlib.Format.formatter -> Obc.method_call -> unit

Print the call to a method

val var : 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 letvar : Stdlib.Format.formatter -> Zident.t -> Obc.is_mutable -> 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 match_handler : Stdlib.Format.formatter -> Obc.inst Obc.match_handler -> unit
val print_memory : Stdlib.Format.formatter -> Obc.mentry -> unit
val def_type_for_a_machine : Stdlib.Format.formatter -> string -> Obc.mentry list -> Obc.ientry list -> unit

Define the data-type for the internal state of a machine

val pmethod : string -> Stdlib.Format.formatter -> Obc.method_desc -> unit

Print the method as a function

val array_make : (Stdlib.Format.formatter -> 'a -> unit) -> 'a -> Stdlib.Format.formatter -> Obc.exp list -> unit
val array_of : Obc.exp option -> Deftypes.typ -> Stdlib.Format.formatter -> Obc.exp list -> unit
val print_initialize : Stdlib.Format.formatter -> Obc.inst option -> unit
val palloc : string -> Obc.inst option -> Obc.mentry list -> Stdlib.Format.formatter -> Obc.ientry list -> unit

Print the allocation function

val pcopy : string -> Obc.mentry list -> Stdlib.Format.formatter -> Obc.ientry list -> unit
val def_instance_function : Stdlib.Format.formatter -> Obc.ientry -> unit
val machine : string -> Stdlib.Format.formatter -> Obc.machine -> unit

and a collection of functions

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

Innovation. Community. Security.