Documentation

New to Cuarzo? Start with Getting started, then take the tour.

Start here

Getting started
Build the compiler with GCC and run a first program.
A tour of Cuarzo
Variables, functions, collections, enums, results and structs, one example each.

Reference

Language reference
Every type, statement and expression the compiler accepts.
Standard library
The std modules: terminals, files, JSON, processes, HTTP and more.
Diagnostics
What each error code means and how to fix it.

Tools

Projects
cuarzo.toml: programs, libraries, tests, profiles and dependencies.
Editors
The language server, and how to set it up in your editor.
Debugging
Breakpoints in .cz files through GDB or LLDB.

The compiler

Architecture
How source text becomes C: lexer, parser, resolver and code generator.