Crate wasm2glulx

Source
Expand description

Translate WebAssembly into Glulx.

This is a high-level library interface to what is normally used as a command-line tool. See https://bedquilt.io/manual for additional documentation.

Structs§

CompilationOptions
Options that control compilation.

Enums§

CompilationError
Error indicating why a compilation was unsuccessful.
OverflowLocation
The location of what caused an overflow error.

Constants§

DEFAULT_GLK_AREA_SIZE
The default value for --glk-area-size.
DEFAULT_STACK_SIZE
The default value for --stack-size.
DEFAULT_TABLE_GROWTH_LIMIT
The default value for --table-growth-limit.

Functions§

compile
Compile a WebAssembly module into a Glulx story file.
compile_module_to_bytes
Compile a Walrus module into a BytesMut.