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 / qualification / om2 / sec / s5s7 / m6-export2.om

13 lines · 386 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 6 lines 204-206: two `export fn` entries and a private helper: accepted (function mode).
3note Symbol visibility (helper private, one omega2_ symbol per export) is checked at the ABI level.
4om2
5fn helper a ulong to ulong
6ret add a 1
7end
8export fn inc a ulong to ulong
9ret helper a
10end
11export fn dbl a ulong to ulong
12ret mul a 2
13end