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 / profile / cases / b2-sibling.om

17 lines · 179 bytes Raw Blame History
1fn walk depth ulong to ulong
2nd = ulong 0
3if eq depth 1
4nd = add depth 1
5if gt nd 64
6ret 0
7end
8end
9if lt depth 2
10ret walk nd
11end
12ret 0
13end
14fn main to int
15d = walk 0
16ret int d
17end