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 / seed / ng / front / runs / p-emptytext-trap.om

11 lines · 258 bytes Raw Blame History
1om2
2note runtime indexing of an empty text (variable index 0) traps 3 (chk.bounds on the 0-length slice, exit 103), matching omc (ledger L1144).
3text empty_name ""
4
5fn read_at idx ulong to int
6ret int get empty_name idx
7end
8
9fn main to int
10ret read_at 0
11end