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

10 lines · 205 bytes Raw Blame History
1note ref/ck.om: omc reference of mkir fixture ck (the second add overflows int: trap 1, exit 101)
2fn ck a int b int to int
3ret add a b
4end
5
6fn main to int
7x = ck 5 7
8y = ck 2147483000 1000
9ret add x y
10end