Skip to main content
The primary supported application surfaces are the stoffel CLI and the Rust SDK. If you are writing C, C++, Python, or another host-language integration, start by treating the CLI-built .stflb artifact as the boundary: build with stoffel build, then hand that bytecode to the runtime surface your integration owns.
For application code that needs a stable executable API today, use the Rust SDK and expose your own host-language boundary around it.

Compiler crate

The compiler implementation lives in the stoffel repository under crates/stoffel-lang. Lower-level FFI work should validate against the current crate source before documenting C ABI details, because the app-facing docs should not promise unsupported package APIs.

Source shape

Use current StoffelLang syntax when compiling from any host language:

See also