Next: , Previous: , Up: Toolchain reference   [Contents][Index]


3.3 Resolver

The (wasm resolve) module provides the resolve-wasm procedure which lowers WASM modules into a form that can be used by the assembler or interpreter. The resolver replaces named references with their respective integer index values, fills out the type table, and adjusts i32 and i64 constants into their canonical form.

Procedure: resolve-wasm mod

Lower the WASM module mod into a form that can be assembled or interpreted. Returns a new WASM module and does not modify mod.