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 / semhash / dups / b.om

14 lines · 297 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note dups fixture b.om: sq2 is a.om sq with its parameter renamed (same meaning);
3note inc2 adds 2, so it must not group with a.om inc
4fn sq2 v ulong to ulong
5ret mul v v
6end
7
8fn inc2 x ulong to ulong
9ret add x 2
10end
11
12fn main to int
13ret int sq2 inc2 2
14end