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-op-rotl.om

14 lines · 326 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 5 abstract lines 140-143: rotl not listed (ops rotr xor). Erratum E8: 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 main to int
10d = dup32mk 5
11e = rotl d 3
12puth open e
13ret 0
14end