Skip to content

Example gallery ​

The repository examples are complete source trees rather than presentation-only fragments. Documentation recipes embed separately checked source, and behavior-bearing snippets have committed expected output.

Start and core language ​

Types and control flow ​

Concurrency ​

Go and applications ​

Native boundaries ​

The documentation check compiles every embedded valid snippet, runs each example with an output contract, validates diagnostic fragments for intentionally invalid sources, and checks generated Go and C-boundary artifacts.

Running repository examples ​

From a source checkout, invoke the compiler through Go:

sh
go run ./cmd/keika check examples/hello/main.km
go run ./cmd/keika run examples/hello/main.km

Projects with locked external dependencies include their own manifest, lock, and verification instructions. Normal compilation stays offline/read-only with respect to the module graph.

Kinmokusei is a pre-1.0 project. Documentation describes implemented behavior.