Documentation

Learn the language and explore the compiler internals.

This is the documentation of Fly 0.14.9, an older release. The latest release is Fly 0.15.2.

Language Reference

Complete reference for the Fly programming language — syntax, types, expressions, statements, and grammar.

Read →

Compiler Internals

Compiler internals reference — AST nodes, Sema objects, symbol resolution, Parser and CodeGen pipeline.

Read →

Testing

First-class, zero-overhead testing built into Fly: inline test blocks, suites, case steps, and the built-in fly --suite runner.

Read →

Tutorial

Step-by-step practical guide to writing Fly programs — from Hello World to classes, generics, error handling and tests. Every example compiles with Fly 0.14.6.

Read →

Fly API

Reference for the Fly standard library — fly.str, fly.math, fly.mem, fly.os, fly.sync, fly.data, fly.json, fly.codec, fly.hash, fly.net, fly.targz, fly.log, fly.assert, fly.bridge — with the conventions every module follows.

Read →

Command Line

The fly command: directory-based builds, the three option axes (format, stage, shape), test runs with --suite, projects with Manifest.fly, and the fly-lsp, fly-registry and lldb companion tools.

Read →

Conformance

What Fly actually checks: compile-time rules enforced by the released 0.14.6, by 0.14.7 and by the seed; the run-time behaviour of unsafe operations; and the known limits of the standard library.

Read →

Building Fly

How Fly builds itself: the chain of pinned seeds (C++ up to 0.14.x, self-host from 0.15), the three bootstrap stages, what each shipped artifact is compiled by, the guards that run at every stage, and the known limits of the current bootstrap.

Read →

Roadmap

Where Fly stands after self-hosting and the ordered plan to maturity: a truthful compiler, a complete bootstrap, a safe language, a coherent standard library, and the criteria for 1.0.

Read →

All versions

Each release keeps the documentation published with it. Downloads and build instructions for every version are on the Install page.