Language Reference
Use this when you want the authoritative ilo language spec or an index of every reference page.
The complete language specification is maintained in SPEC.md on GitHub. For the agent-optimised compact spec, run ilo help ai.
Reference index
Section titled “Reference index”Core syntax
Section titled “Core syntax”- Primitives - type sigils (
n,t,b,_,L,M,R,O,S) - Types & Functions - function declarations and signatures
- Prefix Notation - operator syntax
- Guards & Control Flow - flat conditional returns
- Loops - foreach, ranges, while,
brk,cnt - Error Handling - Result,
!,?,?? - Pipes - left-to-right chaining
- Imports - splitting code across files
- Memory Model - ownership and copying
Tooling
Section titled “Tooling”- CLI Reference - every flag and subcommand
- REPL - interactive sessions
- Engines - tree, VM, JIT, and AOT contracts
- Benchmarks - performance numbers per engine
Errors and edge cases
Section titled “Errors and edge cases”- Diagnostics - error codes, fixSafety taxonomy, repair plans
- Gotchas - common traps
- Syntax Experiments - proposals and unstable surface
See also the 10-lesson tutorial on the GitHub wiki.