The Bynk Book
⚠️ Bynk is pre-1.0 (currently v0.109) and under active development. The language changes in small, spec-first increments. This book documents what compiles today; planned features are marked as planned rather than described as if they exist. See Versioning & roadmap.
Welcome to the official guide and reference for Bynk — a statically typed, architecture-first language that compiles to typed TypeScript for Cloudflare Workers.
This book follows the Diátaxis framework, grouped concern-first: each guide section keeps its explanation, its recipes, and its reference together rather than splitting them across the book. If you are not sure where to start:
- New to Bynk? Begin with What is Bynk?, then work through the Tutorials in order.
- Have a specific task? Jump to the Guides.
- Need exact behaviour? Consult the Reference.
- Want to understand the why? Each guide section opens with an Understand page — e.g. the type-system philosophy.
Or choose a path by background:
- Coming from TypeScript? Read Coming from TypeScript.
- New to typed or functional ideas? Start at Tutorial 1, keeping the glossary to hand.
- Evaluating Bynk? Read Why Bynk exists, then Bynk compared to TypeScript.
For a one-screen tour of how the book is laid out and how to read it, see How these docs are organised.