MoxyMoxy
Docs contents

Documentation

New to Moxy: start with the tutorial. Bringing it into C you already have: adopting Moxy. Looking something up: the language reference, or search above.

Start

Overview
What Moxy is, install, a tour of the language, projects, testing and tooling.
Tutorial
Learn Moxy step by step, from hello world to a project with tests.
Adopting Moxy in C projects
Add Moxy to a Make, CMake or Meson build, one file at a time.
Porting cJSON
A real C library moved to Moxy: what compiled, what got shorter, where it was worse.

Reference

Language reference
Every feature in detail.
Memory management
The ownership model, its rules, and how it compares to other languages.
Diagnostics
Every diagnostic code, with a program that triggers it and the fix.
Grammar
The formal syntax.
Benchmarks
C, Moxy, Rust and Zig on the same five programs.

Internals

Architecture
How the compiler works.
Compiler internals
The compiler's source layout, for contributors.

Design

Language additions
Memory model design
Package index design

Project

Changelog
What changed between releases.
Stability and 1.0
What the 1.0 compatibility promise will cover.
Roadmap
Contributing
Starter tasks
Change process
Proposal template