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
197 downloads per month
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
andproblem
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