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 / n3.om

15 lines · 213 bytes Raw Blame History
1note two loops reuse a block slot; the first break must not be patched by the second loop
2fn main to ulong
3n = ulong 0
4while lt n 1
5break
6end
7n = add n 1
8while lt n 5
9n = add n 1
10if eq n 3
11break
12end
13end
14ret n
15end