# mul.example > Markdown copies of every page, for language models and agents. ## Documentation - [MUL language reference](https://mul.example/reference/index.md): What you can write in MUL today, what it means and which errors you get: syntax, types, effects, error codes and idioms, every example tested. - [Effects](https://mul.example/effects/index.md) - [Errors](https://mul.example/errors/index.md) - [MUL Source — compact guide](https://mul.example/guide/index.md) - [Syntax highlighting](https://mul.example/highlighting/index.md) - [Idioms](https://mul.example/idioms/index.md) - [What MUL does not have](https://mul.example/not-in-mul/index.md) - [Syntax](https://mul.example/syntax/index.md) - [Types](https://mul.example/types/index.md) - [broken.mul](https://mul.example/examples/broken/index.md): Intentionally invalid: the literal does not fit in i32, and the i64 type does not exist yet. - [calls.mul](https://mul.example/examples/calls/index.md): Parameters and calls (RFC-002): main calls sub before its definition. - [abundant.mul](https://mul.example/examples/compare-abundant/index.md): The abundant program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [collatz.mul](https://mul.example/examples/compare-collatz/index.md): The collatz program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [digits.mul](https://mul.example/examples/compare-digits/index.md): The digits program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [fib.mul](https://mul.example/examples/compare-fib/index.md): The fib program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [fizzbuzz.mul](https://mul.example/examples/compare-fizzbuzz/index.md): The fizzbuzz program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [gcd.mul](https://mul.example/examples/compare-gcd/index.md): The gcd program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [hello.mul](https://mul.example/examples/compare-hello/index.md): The hello program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [isqrt.mul](https://mul.example/examples/compare-isqrt/index.md): The isqrt program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [power.mul](https://mul.example/examples/compare-power/index.md): The power program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [primes.mul](https://mul.example/examples/compare-primes/index.md): The primes program written in MUL, Go, PHP, C and Rust, with the same output and exit code, and the token count of each version. - [conditions.mul](https://mul.example/examples/conditions/index.md): Collatz sequence: how many steps it takes n to reach 1. next is assigned on one path only; the IR merges it with a block parameter. - [effects.mul](https://mul.example/examples/effects/index.md): Effects: pure (the default) and io (RFC-009). A pure function cannot call an io one; mul check rejects that with MUL-T013. - [hello.mul](https://mul.example/examples/hello/index.md): Hello, world (RFC-010): print is an io operation, so main is io. mul run prints the line and exits with the value of main, here 0. - [locals.mul](https://mul.example/examples/locals/index.md): Variables and blocks (RFC-005): let is immutable, var can be assigned, a block opens a scope. MUL has no shadowing. - [loops.mul](https://mul.example/examples/loops/index.md): Greatest common divisor by Euclid's algorithm: a and b change on every iteration, so the loop header takes both as block parameters. - [mvp0.mul](https://mul.example/examples/mvp0/index.md): MVP-0: the smallest program that goes through the whole MUL pipeline. - [overflow.mul](https://mul.example/examples/overflow/index.md): Well-typed, but overflows i32 at run time. - [Changelog](https://mul.example/changelog/index.md): What changed in the MUL language and compiler, release by release, in the Keep a Changelog format. - [Examples](https://mul.example/examples/index.md): Every program in the examples/ directory of the MUL repository, with the output the mul compiler prints for it, generated at build time. - [Benchmarks](https://mul.example/benchmarks/index.md): Token counts of the same programs written in MUL, Go, PHP, C and Rust, measured with mul tokens when this site was built. - [Design papers](https://mul.example/papers/index.md): The MUL design document: architecture, IR, backends, the agent protocol and the roadmap, in the Polish original and the English edition. - [Blog](https://mul.example/blog/index.md): News from the MUL project: what changed in the language and the compiler, and what comes next, written as each part lands. ## Posts - [Identity and persistence](https://mul.example/blog/identity-and-persistence/index.md): Stable symbol ids and hashes, the .mulb file with an integrity check, runtime errors that point to the MUL source line, and fuzzing of the readers. - [Welcome to MUL](https://mul.example/blog/welcome-to-mul/index.md): What MUL is, what compiles today, why every result is checked twice, and what comes next: identity, Go patch mode and an API for agents.