Introducing Aburo: A Language That Runs Partial Programs

· 7 min read
language designaburointerpreterpartial programsevidencekoru

This is a soft announcement. Nothing here is production-ready, and there is nothing to install. It is a note on why a new language exists, what it believes, and one receipt it has already produced.

The thesis line, because it is the whole design in one sentence:

Koru is made to be able to compile a partial program, while Aburo is made to be able to run a partial program.

What Aburo is

Aburo is an evidence-carrying language for partial execution.

The unit of computation is not the batch. Programs do not run start-to-finish and exit; partial programs are admitted into live, persistent state — admitted, not executed blind. Admission is a decision with conditions: ordering isolation, mutation evidence recorded as it happens, and receipts for what occurred. The design center of the language is the admission, not the run.

This is a deliberate inversion of the shape most scripting languages take. Python’s whole-program batch shape — read the file, run it top to bottom, exit — is precisely the thing Aburo is not. A partial program arrives incomplete, is judged at the boundary, and what it did to the world is evidence, first-class, queryable after the fact.

What Aburo looks like

Before anything else about the implementation, here is the language itself. This is real Aburo — the core of the program that solved Advent of Code day 1, counting how often each container ID appears in the input stream:

store(freqs, capacity: 1024) {
    id: i64
    count: i64
}

capture(scan) {
    hit: 0
    prev: 0
}

file-lines()
! line l |> for(0..freqs.count)
    ! each i |> switch()
        | [freqs[i].id == l] |> stored {
            freqs[i].count: freqs[i].count + 1
        } |> captured {
            scan.hit: scan.hit + 1
        }
    | done |> switch()
        | [scan.hit > scan.prev] |> captured {
            scan.prev: scan.hit
        }
        | default |> insert(freqs) {
            id: l
            count: 1
        }

Read it once without knowing anything and the shape of the language is already visible. A store is a table with a declared capacity — capacity is part of the type of the thing, because running out of room is a refusal, not a crash. Mutable state lives in named capture blocks, and writes happen inside stored and captured contexts — mutation is syntax, not a side effect, because mutation is exactly what the evidence is made of. ! admits an event into a chain: each line of the input arrives as a partial program being admitted into live state. And every chain ends in done or failed — completion and refusal are both outcomes the language spells, not absences it notices later.

Why Aburo exists: Koru cannot honestly interpret

Now the origin story, and here the other language enters. Koru is a compile-time-discharge language. Everything it can move to compile time, it moves: types are registry entries resolved before emission, obligations are discharged statically, the continuation plumbing is flattened into the emitted binary. Interpretation is architecturally alien to that — and we know this not as a vibe but as a measured fact, because we tried.

The interpreter-in-Koru went through a full performance campaign. It started 1650× behind Python. Across the campaign it was optimized down past parity to ahead of Python at practical scales — and then it hit a wall, and the wall was proven structural: the remaining costs are real state-changing writes, the writes an interpreter must perform to be an interpreter at all. No optimization removes them. Only compilation — specialization, erasure, the whole Koru move — can erase them, and erasing them means you are no longer interpreting.

A compile-time-discharge language cannot honestly interpret. That impossibility is not a failure to engineer around; it is information. It is the reason Aburo exists.

The metacircular twist

Here is the part we did not plan: Aburo’s parser, lowering, and evaluator are written in Koru.

The Aburo you saw above is input to a program written in a different language. The fragments below are not Aburo — they are Koru, the host, the compile-time-discharge language that cannot honestly interpret. And here is the twist in its sharpest form: the language that cannot interpret turned out to be an unusually natural home for expressing an interpreter. Guard-row switches, continuations as control flow, recursion spelled as a chained walk — the evaluator reads like the structure it implements. The family resemblance is not an accident: Aburo’s surface syntax inherits its sensibility from Koru because the same aesthetic designed both. But they are two languages, and this post tries to keep them honestly separated — Aburo is what you write, Koru is what runs it. Two fragments of Koru, verbatim from the implementation.

The evaluator decides which arm of a switch is the default arm — a recursive scan in continuation style:

// First direct-child default arm of a switch parent, or -1. A switch can
// only ever execute its first default arm, so the scan stops at the hit.
tor find-default-arm-walk { parentarm: i64, row: i64, armcount: i64, armkinds: [32]i64, armcontrolparents: [32]i64, source: string, namestarts: [32]i64, nameends: [32]i64 } -> i64
find-default-arm-walk = switch()
| [row >= armcount or row >= 32] -> -1
| default |> arm-direct-child(parentarm, candidate: row, armcount, armcontrolparents): inscope
    |> if(inscope == 1)
        | then |> default-arm-hit(source, arm: row, armkinds, namestarts, nameends): hit
            |> if(hit == 1)
                | then -> row
                | else |> find-default-arm-walk(parentarm, row: row + 1, armcount, armkinds, armcontrolparents, source, namestarts, nameends): r -> r
        | else |> find-default-arm-walk(parentarm, row: row + 1, armcount, armkinds, armcontrolparents, source, namestarts, nameends): r -> r

And the admission itself — the design center — is one guard-row switch in the driver. Refusal classes are ordered: shape first, then duplicates, then correlation, then capacity:

tor admission-failure-class { existingcount: i64, batchcount: i64, ordinalbad: i64, duplicate: i64, correlated: i64 } -> i64
admission-failure-class = switch()
| [batchcount < 0 or batchcount > 32 or ordinalbad == 1] -> 3
| [duplicate == 1] -> 4
| [correlated != 1] -> 5
| [existingcount + batchcount > 32] -> 6
| default -> 0

One seam, stated once: the evaluator currently speaks in fixed-width integer rows — [32]i64, [64]i64 — because the evidence substrate is deliberately primitive. That is a choice about what evidence is made of, not a limitation of the host language; the structure carrying it is Koru’s native shape.

A first receipt: Advent of Code, day one, in season

Today, December 5th, 2026, Aburo solved both parts of Advent of Code 2026 day 1 — in season, four days late but honestly run:

  • Part 1 — the three most common container IDs: 50516100
  • Part 2 — the three least common: 65444400

Both example-verified before the real input, both cold runs in 0.07 seconds.

The more important number is a bug count, not a time. Day 1 immediately exposed a real correctness bug in the evaluator: nonzero capture seeds were silently not materializing. That is exactly what the exercise is for. Advent of Code here is not a competition and not a benchmark — it is a forcing function for correctness. Twenty-four more days of small, adversarial, independently-specified programs, each one a chance for the evaluator to be wrong in a way we have not yet imagined. The bug day 1 found is reproduced and queued for fixing in the evaluator — and the interesting question is what day 2 finds.

What this is, and what it is not

Aburo is greenfield and experimental. Nothing is production-ready; there is no release, no package, no stability promise. This post does not claim the language is fast, because one 0.07-second day-1 receipt is not a performance measurement. It does not claim the design is right, because the design has exactly one adversarial exercise behind it.

What it claims is narrower, and it is the reason this post exists — the beliefs the project is built on:

  • Correctness is a receipt. A claim you cannot check is not a claim. Answers come with the evidence of how they were produced.
  • Evidence is a first-class product of execution. What a program did — its mutations, its ordering, its admissions and refusals — is not a log you reconstruct afterwards. It is part of what running means.
  • The partial program is the natural unit of computation. Programs arrive incomplete, into live state, and the interesting question is whether to admit them — not how fast to batch them.

Koru compiles the partial program. Aburo runs it. More receipts as they arrive.