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 / rung4 / tests / r5b_mut.om

19 lines · 186 bytes Raw Blame History
1fn even n ulong to ulong
2if eq n 0
3ret 1
4end
5ret odd sub n 1
6end
7fn odd n ulong to ulong
8if eq n 0
9ret 0
10end
11ret even sub n 1
12end
13fn main to int
14r = even 8
15if eq r 1
16ret 0
17end
18ret 1
19end