Zorb.Capsule (Zorb v0.10.0)

Copy Markdown View Source

The "Baking Factory" for Z-machine Game Capsules.

Summary

Functions

Compiles a story file into a WASM capsule.

Returns the compiler version of the Zorb Baking Factory.

Functions

compile(story_path, opts \\ [])

Compiles a story file into a WASM capsule.

Options

  • :cache - Boolean, whether to cache the result. Defaults to false.
  • :method - Compilation method: :patcher (fast, default) or :traditional (slow, for debugging)

compiler_version()

Returns the compiler version of the Zorb Baking Factory.