Skip to main content

Crate monkey_wasm

Crate monkey_wasm 

Source

Functions§

compile
compile_detail
compile_to_arm64
Compile Monkey source to AArch64 assembly and return a tagged JSON envelope of per-line text/kind/span records for the playground’s godbolt-style ARM64 view (arm64 backend design §12 V1).
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).