Thank you for helping improve Aria's documentation!
- Fork the repository
- Clone:
git clone https://github.com/<your-username>/aria-docs.git - Create a branch:
git checkout -b docs/your-topic - Make your changes
- Push and open a Pull Request
- guide/ — Programming guide (types, functions, control flow, memory model, etc.)
- reference/ — Compiler architecture and ecosystem reference
- examples/ — Example .aria programs
- man/ — Man page sources and build system
- specs/ — Language specification
- packages/ — Package-specific guides
Use correct Aria syntax in all code blocks:
func:example = int32(int32:x) {
pass(x * 2);
};
failsafe {
pass(1);
};
Key syntax rules:
- Functions:
func:name = ReturnType(params) { ... }; - Variables:
Type:name = value; - Return values:
pass(value)(success) /fail(value)(error) - Loops:
till(limit, step) { ... }with$as iterator variable - Imports:
use module_name;
If documenting a feature that is part of the language specification but not yet implemented in the compiler, add a warning banner at the top:
> **⚠️ DESIGN DOCUMENT — NOT YET IMPLEMENTED IN COMPILER**
> This feature is part of the Aria language specification but is not yet available.cd man/
make # Build all man pages
make clean # Clean build artifactsBy contributing, you agree that your contributions will be licensed under the Apache License 2.0.