interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / evidence / SEED-0 / keyword-compat / README.md

25 lines · 1444 bytes Raw Blame History Rendered
1# Keyword compatibility audit (rung R13)
2
3Question: did adding the float words to the `.om` keyword table break existing programs?
4
5Corpus: every `.om` source under `benchmarks-om/om/` and `benchmarks-om/tests/om/` (103 files) in
6the benchmark workspace. These are the authored benchmark programs, not generated copies.
7
8Reference compiler: the benchmark-pinned compiler, rebuilt here from `seed/omc/omc.om` at commit
9`f0499f41` using `seed/rung4/om4.bin`. Its SHA-256 is
10`e5d60db892c8f21cc8c9128af26d8bded0e96d7f92946f5a549397c43a872649`, matching the pin in
11`benchmarks-om/docs/OMEGA_REWRITE.md`.
12
13Method: for each file, compile with the reference compiler and with `seed/out/omc`; compare the exit
14status and the output bytes. A signal exit (>= 128) counts as a crash.
15
16Before the rename (words were `bits`, `sqrt`, `abs`, `min`, `max`): 103 files, 7 differences, all
17new refusals (error 16) where the old compiler reported 3 or 9. Six files used `bits` as a parameter
18or variable; one used `min`. No crashes.
19
20After the rename (words are `bitcast`, `fsqrt`, `fabs`, `fmin`, `fmax`): 103 files, 0 differences,
210 crashes. Every existing program compiles to identical machine code.
22
23The audit is a one-off over an external corpus, so it is not a gate in `seed/host/check.sh`. The
24property it protects is pinned in-tree by `seed/omc/gate11.sh`, which requires the old short
25spellings to remain usable as names and the new words to be reserved.