aura
A programming language with a serious name and no seriousness whatsoever.
Written in Python from scratch — lexer, parser, tree-walking interpreter, zero dependencies. It has closures, dictionaries, string interpolation, error handling and a 50-function standard library.
It also does not contain a single normal keyword.
chore label(n) ong
fr n % 15 == 0 ong
yeet "fizzbuzz"
orfr n % 3 == 0 ong
yeet "fizz"
orfr n % 5 == 0 ong
yeet "buzz"
bet
yeet yapify(n)
bet
grind i = 1 til 16 ong
cook(label(i))
bet
ong opens a block and bet closes it. chore defines a function, yeet
returns, stash declares, cook prints. That is the entire joke, and it is
load-bearing.
Try it in thirty seconds
Python 3.9 or newer. Nothing else to install.
pip install auralang
aura
Or as a standalone binary — no Python, no pip, nothing installed:
pip install pyinstaller
python build_exe.py
That writes build-exe/aura (or aura.exe), a single ~9 MB file you can copy
to any machine and run. Python is how aura is built, not what you need to
use it.
Or straight from the source, with nothing installed at all:
git clone https://github.com/iam-kira/what-did-i-do
cd what-did-i-do
python aura.py
That opens the REPL, and it reads multi-line blocks:
aura :> stash xs = [1, 2, 3]
[1, 2, 3]
aura :> xs[-1] * 10
30
aura :> chore sq(n) ong
... > yeet n ^ 2
... > bet
<chore sq>
aura :> sq(9)
81
Or run a file:
python aura.py example.aura # a tour of the language
python aura.py prog.aura a b # a and b arrive in handed()
python aura.py --ast prog.aura # show the parse tree
python aura.py --help
What it can actually do
Not a calculator with silly words. A real small language:
# closures, and state that outlives the call
chore counter() ong
stash n = 0
chore tick() ong
n += 1
yeet n
bet
yeet tick
bet
stash next = counter()
cook("{next()} then {next()}")
# bags, dot access, and yap holes
stash player = {"name": "ana", "score": 0}
player.score += 10
cook("{player.name} is on {player.score}")
# errors you can catch and branch on
sus ong
stash text = slurp("notes.txt")
whoops e ong
fr e.kind == "file" ong
cook("no notes yet, carrying on")
bet
bet
| Types | numbers (math), strings (yap), lists (pile), dicts (bag), first-class functions (chore) |
| Control flow | fr/orfr/whatever, keep, grind ... til, grind ... among, bail, skip, yeet |
| Scoping | lexical, with real closures and outer-variable mutation |
| Yap holes | "hi {name}, {1 + 2} points" |
| Destructuring | stash a, b = [1, 2], grind k, v among bag |
| Errors | sus / whoops / oops, a kind on every error, tracebacks, and a caret under the offending code |
| Higher-order | eachof, keepif, smoosh, sortof with a key chore |
| Scriptable | handed() for arguments, slurp/spill for files, rummage for folders, bounce(code) for exit status |
| Imports | summon("lib.aura"), with cycle detection |
When something breaks, it tells you exactly where:
Runtime Error: 'nope' is not defined
File prog.aura, line 3, col 14
total += nope
^^^^
Read it
| docs/BOOK.md | The book — the whole language, then the whole interpreter, in the order you would learn them. Start here. |
| docs/LANGUAGE.md | Quick reference — vocabulary, operators, builtins, errors |
| docs/ARCHITECTURE.md | How the interpreter works, and where to add things |
| CONTRIBUTING.md | Setup, workflow, and what needs doing |
| editors/ | VS Code syntax highlighting for .aura files |
Programs written in aura: example.aura tours the language,
examples/calc.aura is a calculator with its own tokeniser
and precedence-climbing parser, examples/wc.aura is a word
counter that walks folders, and examples/json.aura is a
JSON parser — closures hold the read position, sus handles bad input, and
JSON null arrives as ghosted.
Why "aura"
Every keyword in the language is a joke. The name is the straight man — it lets the contents be the punchline, and it will still read fine when the slang has moved on.
The repo is called what-did-i-do for the same reason.
Under the hood
One file, 3,600 lines, no dependencies. Lexer → Parser → Interpreter,
readable top to bottom.
Errors are values, never exceptions: every stage returns a (result, error)
pair carrying a source position, which is why a runtime failure can print the
line it happened on.
500 tests, including a fuzz sweep asserting no input ever escapes as a Python traceback, a checker that executes every code snippet in these docs, and a test that diffs the syntax highlighting against the real keyword list.
python -m venv .venv
.venv/Scripts/activate # Windows; use source .venv/bin/activate elsewhere
pip install pytest
python -m pytest -q
Running aura needs nothing installed. The venv is only for pytest.
Status
Works. Not finished — no type system, and no concern for speed. Rough edges are listed at the end of docs/LANGUAGE.md and in CONTRIBUTING.md.
Credit and licence
aura was created by Vijay Biradar (iam-kira).
Released under the MIT Licence, which lets anyone use, modify and sell it — including inside closed-source products — on one condition:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
So if you ship aura, or anything substantially built from it, the copyright notice comes with it. That is not optional, and it applies to commercial use too.
Contributions are accepted under the same licence.
Metadata
Release files for auralang 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| auralang-0.1.2.tar.gz | 63.7 kB | Without provenance | Details for auralang-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| auralang-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for auralang-0.1.2-py3-none-any.whl |
Total release size: 93.1 kB
Release files / auralang-0.1.2.tar.gz
| Download URL | auralang-0.1.2.tar.gz |
|---|---|
| Size | 63.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf56990340f307199cc139010ab6a73397b8efe1d2ed5d7939e99986eb6d4adf
|
|
BLAKE2b-256 checksum How to use checksums |
2d5ba274ea033e7c5829cacb47920f472b53732e07abf7210a69868cb2572117
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / auralang-0.1.2-py3-none-any.whl
| Download URL | auralang-0.1.2-py3-none-any.whl |
|---|---|
| Size | 29.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7403dec476f862f2d8a4c0b65a469ec317a281cce90c18a7d513122a143b6f5a
|
|
BLAKE2b-256 checksum How to use checksums |
bada51a59bb014a5f62f430189b08cbbfd97d3880c62c458cc059014b9260909
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for auralang 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.