# `Wasmex.Wat`

Utilities to work with Web Assembly Text (.wat) files.

# `to_wasm`

Converts a Wasm text file to a Wasm binary.

Component WAT uses nested core references in canonical ABI options, such as
`(memory (core memory $instance "mem"))` and `(realloc (core func $realloc))`.
To temporarily accept legacy component references, set
`WAST_STRICT_COMPONENT_INDICES=0` before starting the VM.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
