Repository navigation
EN Language Reference
Arena Agent edited this page Sep 18, 2026
·
3 revisions
Version note: targets v0.10.1; verify release-sensitive behavior against the repository grammar.
Files use .px; blocks use {} and statements commonly end with ;.
func add(a: int, b: int) -> int { return a + b; }
Annotations are optional where inference is sufficient.
if (ready) { say("go"); } else { say("wait"); }
for item in items { say(item); }
struct defines data; impl adds methods; trait describes shared capability. Plix supports arrays, objects, closures, pattern matching, modules, slicing, interpolation, and errors.
own marks ownership-sensitive values; & borrows immutably; &mut borrows mutably. See Types and Ownership.
For grammar details, use the authoritative grammar reference; this page is an index, not a replacement for it.
Learning path: ← Installation · Types and Ownership →
- Getting Started
- Installation
- Language Reference
- Types and Ownership
- Structs and Traits
- Modules and Projects
- Standard Library
- Error Guide
- Runtime Model
- Architecture
- Compiler Development
- Testing and Tooling
- Cookbook
- Python FFI
- FAQ
- Contributing