Skip to main content

Crate monkey_wasm

Crate monkey_wasm 

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).