Skip to main content

AIX

AIX is a toy symbolic-language experiment built for fun on top of ASTx and IRx. It is not a primary ArxLang product or a stability commitment.

  • PyPI distribution: airx
  • Python import: aix
  • CLI command: aix
  • Source extension: .aix

Status: toy project. The lexer, limited parser, CLI inspection modes, and IRx handoff work for the documented subset. The grammar can change freely.

Install and inspect

pip install airx
aix --help
aix --show-tokens program.aix
aix --show-ast program.aix
aix --show-llvm-ir program.aix
aix --run program.aix

Toy syntax

∴ fib ⟦ n:ℕ ⟧ → ℕ
  ⊢ n ≤ 1 ⇒ n
  ⊢ fib⟦n - 1⟧ + fib⟦n - 2⟧
∎

∴ main ⟦⟧ → ∅
  ⟣ fib⟦10⟧
∎

Implemented forms:

  • ∴ function and constant definitions
  • ⟦...⟧ parameters and calls
  • → return types
  • ⊢ expr return and ⊢ condition ⇒ expr conditional return
  • ⌁ name:T ≔ expr local bindings
  • ⟣ expr output through the existing print node
  • ∎ blocks and compact {...} / ; layout
  • κ⟦...⟧ metadata parsing (ignored after parsing)
  • Unicode identifiers, scalar literals, arithmetic, and comparisons

Reserved APL-inspired operators such as ⍴, ⍳, ¨, ↑, ↓, ⍋, and ⍒ are tokenized but rejected until semantics and backend mappings exist.

Scope

AIX maps its small supported subset to ASTx and relies on IRx for semantics and LLVM. It does not expose Arx imports, classes, templates, Tensors, DataFrames, RecordBatches, or other Arrow-backed language types. There is no committed feature roadmap.

Canonical documentation, including the grammar and lexical reference, is at https://arxlang.org/aix/.

License: Apache-2.0.

Metadata

Release files for airx 1.24.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airx 1.24.1
File Size Uploaded
airx-1.24.1.tar.gz 36.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airx 1.24.1
File Interpreter ABI Platform
airx-1.24.1-py3-none-any.whl Python 3 none any Details

Total release size: 80.8 kB

Release files / airx-1.24.1.tar.gz

Download URL airx-1.24.1.tar.gz
Size 36.7 kB
Tags Source
SHA-256 checksum
How to use checksums
baf1445714d668a380ce0bcd809cf6633b6cc882c79d9e39bab5b5867e026af1
BLAKE2b-256 checksum
How to use checksums
c17b608cc8b4ebfaa8b52f59e4a3cb2d4b42dc54833d446752709d90ea79a111
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1020-azure

Release files / airx-1.24.1-py3-none-any.whl

Download URL airx-1.24.1-py3-none-any.whl
Size 44.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
636c4861a528e25c999ef21331c489cd527e9776dcd91ed33b80790454ca1758
BLAKE2b-256 checksum
How to use checksums
6a8a5968662a4a68bbb37fa025e1b83b022102728380e4fcbb4291faccd83a6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1020-azure

Release history Release notifications | RSS feed

This release

1.24.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page