compile_gene
Compile a local Gene to WASM using Rotifer CLI. Validates or produces compilation artifacts for genes in the genes/ directory.
Instructions
Compile a local Gene to WASM via the Rotifer CLI (rotifer compile). The Gene must exist in the local genes/ directory. Returns compilation output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Force compilation mode (auto-detected by default) | |
| check | No | Validate only, don't produce artifacts (default: false) | |
| gene_name | Yes | Gene name (directory name under genes/) | |
| wasm_path | No | Path to a pre-compiled .wasm file to wrap as IR | |
| project_root | No | Project root path |