Skip to content

Introduction

Zap is a modern, statically-typed programming language designed for clarity, speed, and developer joy. It draws inspiration from the best ideas in languages like Rust, Go, and Python — while keeping the learning curve gentle.

Goal Description
Readable Code should read like prose. No sigil soup, no implicit magic.
Fast Compiles to native code. Zero-cost abstractions where it matters.
Safe Strong type system catches bugs at compile time, not at 3 AM in production.
Batteries A rich standard library ships with every installation.
Extensible Module system makes it easy to share and reuse code.

These docs are organised into sections you can explore in any order:

// hello.zap — your first Zap program
fn main() {
let greeting = "Hello, World!"
print(greeting)
}

Run it with:

Terminal window
zap run hello.zap

Ready? Head to Installation to get started.