Skip to content

KelftIntent, compiled.

Typed programs. Explicit constraints. A native compiler written in Kelft.

Kelft Brandmark

A first program ​

kelft
fn main() -> void { println("Hello, Kelft!"); }

Save this as hello.kelft. With the public compiler installed:

sh
kelft check hello.kelft --json
kelft run hello.kelft --project-root .

See Getting Started for installation and native build instructions.

Two ways to describe a program ​

Core defines executable behavior. Intent adds typed declarations of outcomes, constraints, capabilities, and change contracts. Both use .kelft; their source forms have separate grammars. Checking a declaration does not prove its requirements.

The compiler, Core, Intent, and specification snapshots have separate versions. Use the compatibility guide to understand those boundaries.

Explore the project ​

This reference uses compiler 0.1.0-alpha.2 at commit f567c2168436.

Prose CC BY 4.0 ? Examples MIT-0 ? Tooling MIT OR Apache-2.0 ? Licensing