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-names.om

31 lines · 824 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note C1 control (contract 13-18): an OM-1 unit keeps the OM-2 words as ordinary names: at seal open
3note abstract holds layout field little big part export out rotr as scalars, fresh as a parameter,
4note dup32mk as a function. Expected stdout oracle/s5s7/exp/t-names.out (python3): 91, dup of 7.
5fn dup32mk fresh ulong to ulong
6ret or shl fresh 32 fresh
7end
8fn n1 to ulong
9at = ulong 1
10seal = ulong 2
11open = ulong 3
12abstract = ulong 4
13holds = ulong 5
14layout = ulong 6
15field = ulong 7
16ret add add add add add add at seal open abstract holds layout field
17end
18fn n2 to ulong
19little = ulong 8
20big = ulong 9
21part = ulong 10
22export = ulong 11
23out = ulong 12
24rotr = ulong 13
25ret add add add add add little big part export out rotr
26end
27fn main to int
28putd add n1 n2
29puth dup32mk 7
30ret 0
31end