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 / apps / aienos-site / om / omega-reference / vendor / examples / err21_const_index.om
| 1 | note err21_const_index: a literal index outside the array is refused at compile time (a run-time index traps 3) |
| 2 | fn main to int |
| 3 | a = new uint 4 0 |
| 4 | put a 4 1 |
| 5 | ret 0 |
| 6 | end |