Reference
Information-oriented, exhaustive, and verified against the engine source. Each page describes exactly what the current build does — every flag, function, parameter, and field — so you can look up a precise answer without reading the code.
For task-shaped guidance and tutorials, see the concept and language guides instead; this section is the dry, complete catalog.
Pages
| Page | What it covers |
|---|---|
| CLI | Every phony subcommand — train, generate, info, validate, stats, and the package commands (install, add, remove, update, list) — with every flag, default, and exit code. |
| PEL functions | The complete function catalog: string, numeric, list, date, conditional, crypto/privacy, and formatting functions, plus the inline-generator forms. |
| PEL operators | The typed operator and coercion semantics — arithmetic, equality, ordering, logical/truthiness, precedence, string escapes, and the template-vs-expression duality. The portable contract. |
| Generators | The five core generator types (logic, list, model, statistical, event sequence) and composition, each with its complete parameter list, defaults, and constraints. |
| .ngram format | The .ngram binary v3 model format: magic, gzip framing, varints, vocab, CSR graph, distributions, positions, and originals. |
| phony.json | The package manifest and phony.lock: every field, the dependency forms, the content-addressed store layout, and remote assets. |
Related
- Expressions (PEL) — the readable language guide the two PEL reference pages formalize.
- Generators (PGDL) — the language guide behind the generator reference.
- Determinism, Packages, Locales — the concepts these pages assume.
- phony-pgdl and ngram-core — the engine crates.