Learn Kinmokusei
This path builds a working mental model in a deliberate order. You will begin with one .km file, then move through types, failures, packages, and generated Go.
keika, verify the Go toolchain, and connect an editor.2 · Five-minute quick startCheck, run, build, and emit Go from your first source file.3 · Language tourFollow one small program through declarations, data, errors, and Go imports.4 · Language ManualBuild a coherent model from source text through expressions, control flow, modules, and types.Coming from TypeScriptSeparate familiar surface syntax from different runtime contracts.Coming from GoMap Go values, errors, packages, and concurrency to Kinmokusei.Frequently asked questionsGet concise answers about types, memory, packages, generated Go, and releases.What Kinmokusei is
Kinmokusei is a statically typed, TypeScript-inspired source language for web backends and Go libraries. The compiler checks .km source and emits deterministic, formatted Go that uses the ordinary Go module graph, toolchain, ABI, runtime, and package ecosystem.
It is not a TypeScript transpiler, JavaScript runtime, npm environment, or alternate spelling of Go source. Where predictable Go generation needs a distinct rule—integer widths, value copying, pointers, errors, tasks, package imports—the language makes that rule explicit.
How to use these docs
- Learn introduces concepts in sequence.
- Manual connects language concepts in a deliberate reading order.
- Guide explains how to write applications and reason about behavior.
- Reference is the precise, searchable contract.
- Examples provides complete programs and project layouts.
All examples that carry behavior are stored as .km source files and checked by the repository documentation test.