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 / om1 / t-order.om

12 lines · 338 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note OM-1 twin of v6-part-order.om: arguments are read left to right (OMEGESE 9.2), so the first
3note argument's divide trap 2 wins over the second's conversion trap 5: exit 102.
4fn g a ulong b ulong to ulong
5ret add a b
6end
7fn main to int
8z = ulong 0
9m = long -1
10r = g div 10 z ulong m
11ret 0
12end