Canonical syntax
Every program has exactly one source representation.
Every program has exactly one source representation.
Small, portable runtime with a precise mark-and-sweep GC. No virtual machine, no embedded interpreter — just a single binary you ship.
The tya binary holds the compiler, formatter, checker, test runner, and package manager.
Every error has a stable code (TYA-Exxxx), a banner with the source snippet, an actionable hint, and a linked explanation. JSON output for CI and editors.
user = { name: "komagata", age: 20 }
greet = user -> "Hello, {user["name"]}!"
if user["age"] >= 20
print(greet(user))
brew install komagata/tap/tya
Download the release source and build the tya command locally.
curl -L https://github.com/komagata/tya/archive/refs/tags/v0.61.0.tar.gz | tar xz
cd tya-0.61.0
go build -o tya ./cmd/tya
./tya version
Download the release source and build the tya command locally.
curl.exe -L https://github.com/komagata/tya/archive/refs/tags/v0.61.0.tar.gz -o tya-v0.61.0.tar.gz
tar.exe xzf tya-v0.61.0.tar.gz
cd tya-0.61.0
go build -o tya.exe ./cmd/tya
.\tya.exe version
tya run examples/hello.tya
tya build examples/hello.tya -o hello
./hello
TYA-Exxxx code reference: title, example, and what fixes it.
Roadmap
See what is shipped, what is in flight, and what is planned next.