interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / apps / aienos-site / om / omega-reference / vendor / examples / err21_const_index.om

6 lines · 164 bytes Raw Blame History
1note err21_const_index: a literal index outside the array is refused at compile time (a run-time index traps 3)
2fn main to int
3a = new uint 4 0
4put a 4 1
5ret 0
6end