Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/omega-from-seed.sh # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / omega-from-seed.sh` 35 lines ยท 1442 bytes Raw Blame History 1 #!/bin/sh 2 # omega-from-seed.sh -- compatibility entry point for the pure seeded-Omega birth coordinator. 3 # All birth logic (seed0 -> hex1 -> asm2 -> om4 -> omc 3-stage fixpoint -> diaggen -> 8-case 4 # size-record verification -> 4 names-pass probes) lives in pure seeded Omega: seed/build/birth.om. 5 # Zero Python on the delivery path. Always cold-bootstraps stage1 from seed0.hex so no committed 6 # unverified seed/out/omc binary is ever trusted on the bootstrap path. 7 set -eu 8 if [ "$(uname -s)-$(uname -m)" != "Linux-aarch64" ]; then 9 echo "NOT_RUN: omega-from-seed requires Linux aarch64 (got $(uname -s)-$(uname -m))" >&2 10 exit 3 11 fi 12 R=$(CDPATH= cd -- "$(dirname "$0")/.." && pwd) 13 cd "$R" 14 15 B="build/seed/cold.$$" 16 mkdir -p "$B" 17 trap 'rm -rf "$B"' EXIT INT TERM 18 19 # Cold-start bootstrap from seed0.hex: grow stage1, compile seed/build/birth.om, and run it. 20 sh seed/rung0/load0.sh seed/rung0/seed0.hex "$B/seed0.bin" 21 chmod 755 "$B/seed0.bin" 22 "$B/seed0.bin" < seed/rung1/hex1.hex > "$B/hex1.bin" 23 chmod 755 "$B/hex1.bin" 24 "$B/hex1.bin" < seed/rung2/asm2.hex1 > "$B/asm2.bin" 25 chmod 755 "$B/asm2.bin" 26 cat seed/rung2/table.s2 seed/rung3/table3.s2 seed/rung4/table4.s2 seed/rung4/om4.s | "$B/asm2.bin" > "$B/om4.bin" 27 chmod 755 "$B/om4.bin" 28 "$B/om4.bin" < seed/omc/omc.om > "$B/stage1" 29 chmod 755 "$B/stage1" 30 cat seed/build/common.om seed/build/birth.om | "$B/stage1" > "$B/om-birth" 31 chmod 755 "$B/om-birth" 32 33 rc=0 34 "$B/om-birth" "$@" || rc=$? 35 exit "$rc"