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 / cflow / pl-frhigh.om

14 lines · 405 bytes Raw Blame History
1note for test at the latch on a ulong counter (type 5, the largest unsigned type) above 2^63 (B.LO, not
2note B.LT): the first pass sets i to 2^64 - 2, the latch adds 1 and 2^64 - 1 is not below 3, so 1 pass
3note (exit 1); a signed latch test reads -1 and runs -1, 0, 1, 2 too (exit 5).
4om2
5fn main to int
6n = long 0
7for i ulong 3
8if eq n 0
9i = ulong 18446744073709551614
10end
11n = add n 1
12end
13ret int n
14end