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 / seed / omc / sites / found-range-1.om
| 1 | note sites: found by a one-token change of a tracked program; reaches the omc error site in range (code 8) |
| 2 | note Ordinary modular crypto words remain legal. This is arithmetic compatibility not crypto qualification. |
| 3 | fn main to int |
| 4 | word = add uchar 18446744073709551615 ulong 1 |
| 5 | if ne word ulong 0 |
| 6 | ret int 1 |
| 7 | end |
| 8 | word = mul ulong 18446744073709551615 ulong 2 |
| 9 | if ne word ulong 18446744073709551614 |
| 10 | ret int 2 |
| 11 | end |
| 12 | ret int 0 |
| 13 | end |