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
omega-mv / evidence / SEED-0 / keyword-compat / README.md
| 1 | # Keyword compatibility audit (rung R13) |
| 2 | |
| 3 | Question: did adding the float words to the `.om` keyword table break existing programs? |
| 4 | |
| 5 | Corpus: every `.om` source under `benchmarks-om/om/` and `benchmarks-om/tests/om/` (103 files) in |
| 6 | the benchmark workspace. These are the authored benchmark programs, not generated copies. |
| 7 | |
| 8 | Reference 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 | |
| 13 | Method: for each file, compile with the reference compiler and with `seed/out/omc`; compare the exit |
| 14 | status and the output bytes. A signal exit (>= 128) counts as a crash. |
| 15 | |
| 16 | Before the rename (words were `bits`, `sqrt`, `abs`, `min`, `max`): 103 files, 7 differences, all |
| 17 | new refusals (error 16) where the old compiler reported 3 or 9. Six files used `bits` as a parameter |
| 18 | or variable; one used `min`. No crashes. |
| 19 | |
| 20 | After the rename (words are `bitcast`, `fsqrt`, `fabs`, `fmin`, `fmax`): 103 files, 0 differences, |
| 21 | 0 crashes. Every existing program compiles to identical machine code. |
| 22 | |
| 23 | The audit is a one-off over an external corpus, so it is not a gate in `seed/host/check.sh`. The |
| 24 | property it protects is pinned in-tree by `seed/omc/gate11.sh`, which requires the old short |
| 25 | spellings to remain usable as names and the new words to be reserved. |