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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airx-1.24.1.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airx-1.24.1-py3-none-any.whl (44.1 kB view details)

Uploaded Python 3

File details

Details for the file airx-1.24.1.tar.gz.

File metadata

  • Download URL: airx-1.24.1.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1020-azure

File hashes

Hashes for airx-1.24.1.tar.gz
Algorithm Hash digest
SHA256 baf1445714d668a380ce0bcd809cf6633b6cc882c79d9e39bab5b5867e026af1
MD5 8bd6618b45770ca7e53d3ad318f7f22f
BLAKE2b-256 c17b608cc8b4ebfaa8b52f59e4a3cb2d4b42dc54833d446752709d90ea79a111

See more details on using hashes here.

File details

Details for the file airx-1.24.1-py3-none-any.whl.

File metadata

  • Download URL: airx-1.24.1-py3-none-any.whl
  • Upload date:
  • Size: 44.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1020-azure

File hashes

Hashes for airx-1.24.1-py3-none-any.whl
Algorithm Hash digest
SHA256 636c4861a528e25c999ef21331c489cd527e9776dcd91ed33b80790454ca1758
MD5 118e9f464e5a91d73b78fd7a19800e44
BLAKE2b-256 6a8a5968662a4a68bbb37fa025e1b83b022102728380e4fcbb4291faccd83a6b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page