From hex words to a self-hosting compiler.
Each rung builds the next tool in plain sight. No hidden binary is needed to verify the chain. Seed source and rung records.
- 0 · Hand-written hex
load0.shturnsseed0.hexinto executable bytes via POSIXprintf. - 1 · The 408-byte loader
seed0reads eight hex digits at a time, emits machine words and buildshex1. - 2 · Names for jumps
hex1resolves labels into branch distances and buildsasm2. - 3 · Names for instructions
asm2uses an Arm instruction table to encode assembly and buildom4. - 4 · Language for the compiler
om4reads enough Omegese to compileomc.ominto the firstomc. - 5 · Bit-exact self-rebuild
omcrecompilesomc.omtwice and compares stage binaries byte for byte.
asm2. Challenge and expected hashes.What the 408-byte loader actually does seed0.hex
The hex source includes a Linux ELF header and the Arm instructions that follow it. 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. Read the annotated seed.
Why the intermediate rungs matter Audit trail
Labels replace hand-counted branch distances. An instruction table citing the Arm manual replaces hand-encoded operands. Omegese replaces rows of assembly with named values, typed operations and structured branches. Rung walkthrough and controls.
Run the seed challenge yourself.
Requires Git, POSIX shell, awk, sed, tar and Coreutils. Builds in a scratch folder and compares rungs against the published SHA-256 table. Reproduction instructions.
git clone https://interplane.io/projects/omega-mv/repo.git omega-mv
cd omega-mv
sh seed/challenge/run.shA matching hash establishes a reproducible build along this chain. Program behavior takes separate tests, and a deliberately broken control checks that the gate can fail. How to read evidence.
