Re-exports§
pub use error::HookError;pub use executor::ScriptExecutor;pub use parser::EntityData;pub use parser::ParsedEntity;pub use runtime::EngineError;pub use runtime::EngineOpts;pub use runtime::EvalValue;pub use runtime::ModuleCache;pub use runtime::build_engine;pub use runtime::call_i64_export;pub use runtime::classify_runtime_error;pub use runtime::compile_module;pub use runtime::compile_wat;pub use serializer::AccountArgs;pub use serializer::CommodityArgs;pub use serializer::EntityHeaderArgs;pub use serializer::MemorySerializer;pub use serializer::SplitArgs;pub use serializer::TransactionArgs;pub use serializer::TransactionFromArgs;pub use nomiscript;
Modules§
- checked_
ref - Checked downcasts of a guest
anyref. wasmtime’sunwrap_*accessors panic on a kind mismatch; a malformed guest value must surface as an error instead of aborting the host. - commodity
- debug_
value - Decodes a script-mode program’s result from its output buffer. The result
is the run of
DebugValueentities (other entities, such as a created tag, may be interleaved); a list is a pre-orderList…ListEndrun. When several values were written, the last complete one is the result. - error
- executor
- format
- host
- parser
- runtime
- Shared wasmtime primitives used by every host of nomiscript-compiled
modules: the entity-script
ScriptExecutorand the rpc eval channel. - serializer
- transaction
Enums§
Constants§
- MAX_
WIRE_ LIST_ DEPTH - Deepest list and struct nesting a script’s result may have: the guest
writes a placeholder past it, so a struct holding itself ends, and the host
decoder refuses it. A client reader counts every expression, so the
(:id N :value V)envelope and the atom inside the innermost list take two of its levels (nomiscript::MAX_READ_DEPTH).