23 releases (12 breaking)

Uses new Rust 2024

0.12.0 Feb 27, 2025
0.10.0 Dec 30, 2024
0.9.0 Nov 29, 2024
0.5.0 Jul 30, 2024
0.0.5 Jul 7, 2023

#321 in Programming languages

Download history 5/week @ 2024-11-13 11/week @ 2024-11-20 144/week @ 2024-11-27 8/week @ 2024-12-04 8/week @ 2024-12-11 95/week @ 2024-12-25 21/week @ 2025-01-01 1/week @ 2025-01-08 131/week @ 2025-01-29 9/week @ 2025-02-05 181/week @ 2025-02-26

197 downloads per month

MIT/Apache

540KB
17K 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

~6–15MB
~210K SLoC