Usage
Regulus has two compiler paths:
buildcompiles a Gleam project fromgleam.tomlinto one linked Wasm artifact.compilecompiles one.gleamfile for tests, fixtures, and small examples.
Most users should start with build. Use compile when you want the smallest possible compiler input or when you are debugging one source file.
Common commands
sh
reggie build
reggie build path/to/project
reggie compile path/to/module.gleam
reggie run path/to/module.gleamrun is a single-file helper that compiles a module in memory and executes one exported function with Wasmtime.