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 / tests / ir / x-fib.om

10 lines · 190 bytes Raw Blame History
1note x-fib: fib(25) by double recursion; exit status = its low byte
2fn fib n ulong to ulong
3if lt n 2
4ret n
5end
6ret add fib sub n 1 fib sub n 2
7end
8fn main to int
9ret int and fib 25 255
10end