25 releases (14 breaking)

Uses new Rust 2024

new 0.14.0 Apr 29, 2025
0.13.0 Mar 31, 2025
0.12.0 Feb 27, 2025
0.10.0 Dec 30, 2024
0.0.5 Jul 7, 2023

#403 in Programming languages

Download history 41/week @ 2024-12-31 2/week @ 2025-01-07 124/week @ 2025-01-28 16/week @ 2025-02-04 168/week @ 2025-02-25 14/week @ 2025-03-04 1/week @ 2025-03-11 61/week @ 2025-03-25 66/week @ 2025-04-01 8/week @ 2025-04-08 4/week @ 2025-04-15

139 downloads per month

MIT/Apache

450KB
15K 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
]

Installation

cargo install airlang_bin

Dependencies

~5–14MB
~206K SLoC