CLI

Stof CLI Reference

The Stof CLI is minimal currently, with only two commands: run and test. Stof's primary use case is to be embedded within a host language, however, the CLI helps us test and document Stof.

Install the CLI with Cargo:

cargo install stof-cli

Hello, World!

#[main]
fn main() {
    pln("Hello, world!");
}
> stof run hello.stof
Hello, world!

Last updated