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 / s3s4 / rot-mixed-ulong-uchar.om

9 lines · 203 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Contract section 3 lines 76-77: n must have x's type. x ulong, n uchar: error 7 at line 7.
3om2
4fn main to int
5x = ulong 5
6n = uchar 1
7y = rotl x n
8ret 0
9end