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 / omc / om2 / s4 / x-two.om

12 lines · 316 bytes Raw Blame History
1note S4 export (spec 6): two exports and a private helper. Words 0 and 1 are B to inc and dbl (source
2note order); helper is a private function called by inc (bytes pinned).
3om2
4fn helper a ulong to ulong
5ret add a 1
6end
7export fn inc a ulong to ulong
8ret helper a
9end
10export fn dbl a ulong to ulong
11ret mul a 2
12end