Docs.rs
monkey-wasm-1.0.0
monkey-wasm 1.0.0
Docs.rs crate page
MIT
16 July 2026
Links
Homepage
Repository
crates.io
Source
Owners
gengjiawen
Dependencies
console_error_panic_hook ^0.1.7
normal
optional
monkey-compiler ^1.0.0
normal
monkey-gc ^1.0.0
normal
monkey-parser ^1.0.0
normal
serde_json ^1.0.140
normal
wasm-bindgen ^0.2.126
normal
wee_alloc ^0.4.5
normal
optional
wasm-bindgen-test ^0.3.76
dev
Versions
37.5%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate monkey_wasm
monkey_
wasm
1.0.0
All Items
Crate Items
Functions
Crate
monkey_
wasm
Copy item path
Source
Functions
§
compile
compile_
detail
compile_
to_
snapshot
Compile Monkey source into a
.mbc
snapshot and return a tagged JSON envelope with the raw bytes (lowercase hex) plus a byte-range annotation of the container layout for the playground inspector.
compile_
with_
debug
parse
run_
gc_
with_
report
Execute Monkey source on the cycle-collecting VM and return a tagged JSON envelope.
run_
snapshot
Execute
.mbc
snapshot bytes on the cycle-collecting VM — the browser twin of
monkey-gc run foo.mbc
, sharing its execution path (
gc::run_bytecode
).