Expand description
Lib loaders for the supported source formats (host, Lisp source, binary pack, native dynamic library, and wasm) plus the standard loader registry.
Modules§
- native
- Native dynamic-library loader compatibility exports.
Structs§
- Binary
LibPack - Decoded contents of a binary lib pack: a manifest plus its re-export specs.
- Binary
Pack Loader - Loader for
.l8bbinary lib packs, recognized by path extension or magic. - Host
Loader - Loader for libs supplied directly as in-process host objects.
- Lisp
Source Loader - Loader that compiles
.lispsource files into libs using a Lisp codec. - Native
Dylib Loader - Loader for native dynamic libraries that expose the stable native lib ABI.
- Reexport
Spec - One re-export entry mapping an exported symbol to a target already present in the registry, tagged by the kind of item it links.
- Wasm
Loader - Loader for
.wasmcomponent libs, backed by a host wasm runtime.
Functions§
- compile_
lisp_ source_ pack - Compiles an already-decoded Lisp source expression into a binary lib pack.
- compile_
lisp_ source_ text_ to_ pack - Compiles Lisp source text into an in-memory binary lib pack.
- decode_
binary_ lib_ pack - Decodes a binary lib pack from its byte representation, validating the header.
- encode_
binary_ lib_ pack - Encodes a binary lib pack into its byte representation.
- encode_
lisp_ source_ text_ to_ binary_ pack - Compiles Lisp source text and encodes it as binary lib pack bytes.
- encode_
native_ manifest_ response - Encodes a lib manifest as the native ABI manifest-call response.
- export_
lisp_ source_ file_ to_ binary_ pack - Reads a Lisp source file, compiles it, and writes a binary lib pack to disk.
- standard_
loader_ registry - Builds a loader registry with the standard loaders for the enabled features.
- standard_
loader_ registry_ with_ sources - Builds the standard loader registry and seeds it with catalog sources.
- standard_
loader_ registry_ with_ wasm - Builds the standard loader registry and adds a wasm loader backed by
runtime. - standard_
loader_ registry_ with_ wasm_ and_ sources - Builds the standard loader registry with a wasm loader and catalog sources.
- wasm_
load_ capability - Capability required to instantiate wasm component libs.