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 / tests / loop / w1.om

13 lines · 164 bytes Raw Blame History
1note while with a conditional break: 1 + 2 + 3 = 6
2fn main to ulong
3i = ulong 0
4s = ulong 0
5while lt i 10
6i = add i 1
7if eq i 4
8break
9end
10s = add s i
11end
12ret s
13end