📚 Aria Programming Language

Official documentation for the Aria programming language

Overview

Aria is a modern systems programming language designed for safety, performance, and expressiveness.

⚡ Balanced Ternary

Native support for -1, 0, +1 computation

🛡️ Hybrid Memory Model

GC for safety, Wild for performance, WildX for embedded

🔒 Ownership

Memory safety through borrow checking without lifetimes

⚙️ Async/Await

Built-in coroutine support for concurrent programming

📦 Module System

Clean, scalable code organization

🔧 Generics

Powerful compile-time polymorphism

📚 Documentation Sections

🚀 Getting Started

Installation, first program, and basic concepts to get you up and running.

Read →

📖 Language Guide

Complete reference for Aria syntax, types, functions, and language features.

Read →

📦 Standard Library

API documentation for Aria's standard library (auto-generated by aria-doc).

Browse →

🎓 Advanced Topics

Memory models, async programming, FFI, and advanced language features.

Read →

⚙️ Compiler Internals

Deep dive into how the Aria compiler works under the hood.

Read →

🛠️ Tooling

LSP server, debugger, package manager, and documentation generator.

Read →

💡 Examples

Real-world code examples demonstrating Aria's capabilities.

Browse →

❓ FAQ

Frequently asked questions about Aria and its ecosystem.

Read →

🚀 Getting Started

Installation

# Clone the compiler
git clone https://github.com/aria-lang/aria.git
cd aria

# Build (requires CMake 3.20+ and LLVM 20)
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)

# Install
sudo cmake --install build

Hello, World!

// My first Aria program
fn main() {
    println("Hello, World!");
}

Compile and run

bash ariac hello.aria -o hello
./hello