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 / p-text-empty.om

11 lines · 301 bytes Raw Blame History
1note S4 part on an empty text: part e 0 1 on count 0: o <= len holds, k <= len - o fails, trap 3 (exit
2note 103). x = 7 is live in the register the old lowering read as the count.
3om2
4text e ""
5fn plen v view uchar * to ulong
6ret len v
7end
8fn main to int
9x = ulong 7
10ret int add plen part e 0 1 x
11end