package ocaml-solo5

  1. Overview
  2. Docs
OCaml cross-compiler to the freestanding Solo5 backend

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v1.3.4.tar.gz
md5=186c4e0b2e2602b8a5cefbc731bcc6ba
sha512=b64b9f6b7371468b415c30eb7d13a06ae9c81eaf77f73494635919fc0134d9c3bb0aa177b78ab35d23bfa7fc045602a15f163e446c8fa67afe6e85f0ccbe0031

doc/compiler-libs.common/Symtable/index.html

Module Symtable

module Compunit : sig ... end
module Predef : sig ... end
module Global : sig ... end
val init : unit -> unit
val patch_object : (char, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t -> (Cmo_format.reloc_info * int) list -> unit
val require_primitive : string -> unit
val initial_global_table : unit -> Obj.t array
val output_global_map : out_channel -> unit
val output_primitive_names : out_channel -> unit
val output_primitive_table : out_channel -> unit
val data_global_map : unit -> Obj.t
val data_primitive_names : unit -> string list
val transl_const : Lambda.structured_constant -> Obj.t
val init_toplevel : unit -> (string * Digest.BLAKE128.t option) list
val update_global_table : unit -> unit
val get_global_value : Global.t -> Obj.t
val is_global_defined : Global.t -> bool
val assign_global_value : Global.t -> Obj.t -> unit
val get_global_position : Global.t -> int
val check_global_initialized : (Cmo_format.reloc_info * int) list -> unit
val initialized_compunits : (Cmo_format.reloc_info * int) list -> Cmo_format.compunit list
val required_compunits : (Cmo_format.reloc_info * int) list -> Cmo_format.compunit list
type global_map
val empty_global_map : global_map
val current_state : unit -> global_map
val restore_state : global_map -> unit
val hide_additions : global_map -> unit
val filter_global_map : (Global.t -> bool) -> global_map -> global_map
val iter_global_map : (Global.t -> int -> unit) -> global_map -> unit
val is_defined_in_global_map : global_map -> Global.t -> bool
type error =
  1. | Undefined_global of Global.t
  2. | Unavailable_primitive of string
  3. | Wrong_vm of string
  4. | Uninitialized_global of Global.t
exception Error of error
val report_error : error Format_doc.format_printer
val report_error_doc : error Format_doc.printer
val reset : unit -> unit