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 / qualification / om2 / selftest / trap.om
| 1 | note Harness control: an out-of-bounds index traps 3, so the program exits 103 (OMEGESE 9.1, 9.4). |
| 2 | fn main to int |
| 3 | a = new uchar 4 0 |
| 4 | i = ulong 4 |
| 5 | put a i 1 |
| 6 | ret 0 |
| 7 | end |