Wasm_backendmodule Abi : sig ... endShared value layout and fixed indices for the compiler, runtime, and JavaScript host. Every value struct extends ty_val, with its tag in field zero. Values with the same layout may have different tags.
module Compile : sig ... endCompile core lambda-E expressions to WebAssembly-GC. Compilation does not evaluate expressions or invoke host capabilities. Hostfn values become closures calling imported host functions when the module runs.
module Emit : sig ... endBinary emission for the WebAssembly-GC IR.
module Encode : sig ... endAppend binary encoding primitives to buffers. Numeric ranges are caller preconditions: the helpers do not check WebAssembly integer bounds.
module Ir : sig ... endThe WebAssembly-GC subset shared by the compiler, binary emitter, and diagnostic printer. Indices are zero-based. There is no linear memory or function table; all reference value and storage types are nullable.
module Runtime : sig ... endRuntime functions expressed in the shared WebAssembly-GC IR.
module Wat : sig ... endHuman-readable diagnostics for the WebAssembly-GC IR.