interplane.Get Omega
Omega · Bootstrap

How Omega was built

Start with a loader small enough to read word by word. Give the next program names for jumps, then names for instructions. Keep going until the compiler can read its own source.

Illustration of a silicon die with luminous traces and etched layers rising from it against a sparse starfield.
Illustration of the seed and the layers built from it.

From hex words to a compiler

Read downward. Each row describes what becomes possible at that rung. The shell performs the first conversion, from written hex to machine bytes. Each program that follows builds the next one. Seed source and rung records.

  1. Hand-written hexload0.sh uses shell printf to turn seed0.hex into executable bytes.
  2. The 408-byte loaderseed0 reads eight hex digits at a time, emits machine words and builds hex1.
  3. Names for jumpshex1 resolves labels into branch distances and builds asm2.
  4. Names for instructionsasm2 uses an Arm instruction table to encode assembly and build om4.
  5. A language for the compilerom4 reads enough Omegese to compile omc.om into the first omc.
  6. The compiler builds itselfomc recompiles the same source. The challenge compares the resulting stage binaries byte for byte.
The main compiler chain. Atlas is a separate boot-image branch built by asm2. Challenge and expected hashes.

What the first program actually does

The hex source includes a Linux ELF header and the Arm instructions that follow it. The header tells Linux how to load and start the program. The instructions read text, ignore spaces and comments, and write the binary value of each complete word. A bad character or an unfinished word is rejected. This is enough to build a slightly more capable program from another text file. Read the annotated seed.

Why the intermediate steps matter

A label replaces a hand-counted branch distance. An instruction table replaces hand-encoded operands. Omegese replaces rows of assembly with named values, typed operations and structured branches. Each step removes a chore from the author and gives the next tool a larger vocabulary. The assembly table cites the Arm manual, so an instruction can be checked against an independent description. Rung walkthrough and controls.

Rebuild the published check

Use a 64-bit Arm Linux host with Git, a POSIX shell, awk, sed, tar and Coreutils. Clone with history so the challenge can find the revision named in its expected table. The command builds in a scratch directory inside the checkout and writes its log to build/seed/challenge/challenge.log. Reproduction instructions.

git clone https://interplane.io/projects/omega-mv/repo.git omega-mv
cd omega-mv
sh seed/challenge/run.sh

The challenge selects its own source pin and compares the rungs with the published SHA-256 table for that pin. A match establishes a reproducible build along this chain. Program behavior takes separate tests. A different release or target needs its own evidence. When reading a result, look for the revision, the commands, the hashes and a control that was deliberately broken. How to read evidence.