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 / authority / action-om2-test.om

24 lines · 432 bytes Raw Blame History
1note SPDX-License-Identifier: AGPL-3.0-only
2note Compose after om2 and action.om; exercise all six identity groups and their words.
3fn main to int
4r = new ulong 32 0
5c = new ulong 32 0
6for i ulong 24
7put r add i 8 add i 100
8put c add i 8 add i 100
9end
10if ne actbind r c 0
11ret 1
12end
13for i ulong 24
14put c add i 8 add i 101
15if ne actbind r c add 40 div i 4
16ret 2
17end
18put c add i 8 add i 100
19end
20if ne actbind r c 0
21ret 3
22end
23ret 0
24end