githubEdit

Getting Started

Pick your environment and get something running.

All examples use the same Stof document.

The Example

Save this as hello.stof:

str message: "Hello, Stof!"

fn greet() -> str {
    `${self.message} Data and logic, together.`
}

#[main]
fn main() {
    pln(self.greet());
}

/* Output:
Hello, Stof! Data and logic, together.
*/

CLI

Install:

circle-info

Don't have Rust? Install it herearrow-up-right - cargo comes with it.

Run:

circle-info

VS Code user? Search "Stof" in the extensions tab for syntax highlighting.


TypeScript

Install:

Run:


Python

Install:

Run:


Rust

Add to Cargo.toml:

Run:


What's next?

Last updated