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 / ng / tests / ir / x-index.om
| 1 | note x-index: index == len traps 3 |
| 2 | global g uint 8 |
| 3 | fn main to int |
| 4 | i = ulong 7 |
| 5 | put g i 42 |
| 6 | v = get g i |
| 7 | j = add i 1 |
| 8 | put g j 42 |
| 9 | ret int v |
| 10 | end |