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 / ng / a64 / tests / ref / deep.om

11 lines · 241 bytes Raw Blame History
1note ref/deep.om: omc reference of mkir fixture deep (fib(100000000) passes the stack floor: trap 6, exit 106)
2fn fib n ulong to ulong
3if lt n 2
4ret n
5end
6ret add fib sub n 1 fib sub n 2
7end
8
9fn main to int
10ret int and fib 100000000 255
11end