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 / omc / om2 / s4 / v-text-empty-get.om

9 lines · 281 bytes Raw Blame History
1note S4 empty text: a run-time index into `text e ""` is checked against the count 0, so index 0 traps 3
2note (exit 103); it is not compared with whatever register x0 holds (x = 7 is live there).
3om2
4text e ""
5fn main to int
6x = ulong 7
7i = ulong 0
8ret int add ulong get e i x
9end