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

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