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 / a5-raw-arg.om

16 lines · 351 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 5 abstract line 136: a ulong value passed to a dup32 parameter is error 7.
3om2
4abstract dup32 ulong ops rotr xor
5holds dup32 dup32
6fn dup32mk x uint to dup32
7ret seal dup32 or shl ulong x 32 ulong x
8end
9fn g p dup32 to ulong
10ret open p
11end
12fn main to int
13u = ulong 21474836485
14puth g u
15ret 0
16end