Skip to content

KinmokuseiClear source. Readable Go.

A TypeScript-inspired source language for the Go ecosystem—designed for explicit behavior, direct package access, and generated code you can own.

A quiet sunset reflected across calm water

ONE SOURCE FILE · ORDINARY GO

Familiar at the start. Predictable at the boundary.

Kinmokusei checks the language before generation, then produces formatted Go you can inspect, build, test, and publish with the normal Go toolchain.

hello.kmKinmokusei
import go fmt from "fmt";

function main(): void {
  fmt.Println("Hello from Kinmokusei");
}
generated.goGo
// Code generated by Kinmokusei. DO NOT EDIT.
package main

import fmt "fmt"

func main() {
    fmt.Println("Hello from Kinmokusei")
}
keika run hello.kmHello from Kinmokusei

CHOOSE YOUR PATH

Start from where you are

82 / 82Go-equivalent runtime contracts covered by independent oracles
Go 1.23–1.27supported toolchain range for v0.2
0compiler runtime dependencies in published generated Go
Kinmokusei Programming Language takes its name from the Japanese 金木犀. Say it approximately as kin-moh-koo-say. Kinmokusei borrows familiar TypeScript shapes, but it is neither TypeScript-compatible nor Go-source-compatible; .km source compiles to Go.

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