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 / s0s2 / s0 / q1-fn-rotr.om

10 lines · 270 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note omegese-om2.md 0 line 14 + errata E6 Q1: an OM-2 reserved word declared as a name in an OM-2 unit is
3note error 16 at the declaring line.
4om2
5fn rotr x uint n uint to uint
6ret xor x n
7end
8fn main to int
9ret int rotr 5 3
10end