26 releases (13 breaking)

Uses new Rust 2024

0.13.0 Mar 31, 2025
0.11.0 Jan 30, 2025
0.10.0 Dec 30, 2024
0.9.0 Nov 29, 2024
0.0.1 Aug 3, 2022

#101 in Programming languages

Download history 2/week @ 2024-12-16 123/week @ 2024-12-30 8/week @ 2025-01-06 5/week @ 2025-01-13 2/week @ 2025-01-20 129/week @ 2025-01-27 25/week @ 2025-02-03 6/week @ 2025-02-10 3/week @ 2025-02-17 148/week @ 2025-02-24 41/week @ 2025-03-03 2/week @ 2025-03-10 1/week @ 2025-03-24 123/week @ 2025-03-31

126 downloads per month
Used in 5 crates (4 directly)

MIT/Apache

485KB
16K SLoC

The Air Programming Language

It is designed to be a universal, scalable and optimal programming language for abstraction-optimization and problem-solving.

It is an experimental proof-of-concept project and is still in the very early stages of development.

Goals

  • All reasonable abstractions and problems are expressible
  • Provide a universal, scalable and optimal framework for abstraction-optimization and problem-solving

Design

  • Define abstraction and problem in theoretical computer science
  • Optimize abstractions and solve problems using computability, computational complexity and reverse computation theories

Demo

_"A demo of implementing a C-like for function"

do ; [
    c_for = function ; {
        context_access : mutable,
        call_mode : id,
        call : ctx : args -> do ; [
            [.init, .condition, .next, .body] = .args,
            .ctx | do ; [
                .init,
                .condition loop [
                    .body,
                    .next,
                ],
            ],
        ],
    },
    c_for [[i = 1, sum = 0], i <= 10, i = i + 1, sum = sum + i],
    sum
]

Dependencies

~3.5–8.5MB
~79K SLoC