Projects02 · Dynamic language
Aipo.
S2CONTRACTS-FIRST
Aipo is a general-purpose, dynamically and strongly typed language with support for contracts and invariants. Its Rust toolchain includes a bytecode VM and a JavaScript backend.
01
The question
Why it exists
Aipo explores how to keep the flexibility of a dynamic language without hiding type mismatches, and how to bring contracts closer to the code they protect.
02
A few coordinates
Design principles
- 01
Intentional conversions
Incompatible values are not silently converted; programs must express that intent.
- 02
Invariants beside the data
Structural contracts can be declared alongside the model that must preserve them.
- 03
More than one target
The project maintains a Rust bytecode VM and a backend that emits JavaScript.
03
A static sample
First output
io.println("Hello from Aipo!")Hello from Aipo!
This block is a code sample only. This page does not compile or run Aipo in the browser.
04
Documentation
Read the guides
User guide23 pages
Concepts, first steps, and reference for using the project.
Getting started
Manual
Packages
Development69 pages
Internal architecture, conventions, and material for contributors.
Architecture
Decisions
- ADP-001 — Core Types and Bytes as Values
- ADP-002 — Construction Hooks and Runtime Contracts
- ADP-003 — Execution Budgets
- ADP-004 — Unicode Identifier Policy
- ADP-005 — Parser Recursion Limits
- ADP-006 — Open Decisions for Waves 3 & 4
- ADP-007 — Package Identity & Distribution
- ADP-008 — Scoping Language Release v0.1.0
- ADP-009 — Synchronous Versioned C ABI
- ADP-010 — Thin Interoperability Proofs (Rust, C, JS)
- ADP-011 — Structural Performance & Ergonomics Roadmap
- ADP-012 — Canonical Syntax Ergonomics and Design Philosophy
- ADP-013 — WebAssembly Execution Substrate Migration and Self-Hosting Roadmap
Proposals (ADP)
- ADP-001 — Byte, Bytes and types as values in Prelude V1
- ADP-002 — Construction hooks, invariants and runtime contracts
- ADP-003 — Execution Budgets for Untrusted Programs (fuel, memory, interruption)
- ADP-004 — Unicode Identifier and Security Policy
- ADP-005 — Parser Recursion Bounds (Nesting Limits)
- ADP-006 — Wave 3/4 Open Decisions (async, collections, packing, host)
- ADP-007 — Package identity and distribution
- ADP-008 — Release aipo v0.1.0 and the interoperability boundary
- ADP-009 — Synchronous, versioned C ABI
- ADP-010 — Thin interoperability proofs for Rust, C and JavaScript
- ADP-011 — Structural performance and language ergonomics roadmap
Governance
Evidence
- Language Conformance Matrix
- Cross-Language Benchmarks
- Evidence — P00-G09 / Slice S9 (Runtime & Minimum Stdlib)
- Evidence — P00-G10 / Backend Completion (gaps inside S1–S9)
- Evidence — P00-G11 / Slice S10 (CLI + Formatter)
- Evidence — P00-G12 / Slice S11 (Conformance Hardening & MVP Gate)
- Evidence — P00-G13 / MVP Construction Hooks & Bytes
- Evidence — P00-G14 / Runtime Contract Enforcement
- Evidence — P00-G15 / Static Contracts and Interface Conformance
- Evidence — P00-G16 / Wave 1 Exit Review
- Evidence — P01-G01 / JS Parity for the Full MVP Subset
- Evidence — P01-G02 / Deep Quality Gauntlet
- Evidence — P02-G01 / Wave 3 Tipos e Valores (Set, Sequence, Bytes Packing, Task, Duration)
- Evidence — P02-G02 / Wave 3 Stdlib: Combinadores Assíncronos e Operações de Task
- Evidence — P02-G03 / Wave 3 Infra: Sintaxe async fn, await do e Diagnósticos Estáticos
- Evidence — P03-G01 / Host ABI: Capability Model, Host Values and Generational Handles
- Evidence — P03-G02 / Poppy Adapter and Deterministic Headless Demo
- The Optimization Saga & Methodological Rigor
- Historical Slice Register