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 / ng / front / cases / rot_mix.om

8 lines · 176 bytes Raw Blame History
1om2
2note rot_mix: a rotate's amount must have the value's type (omc binop: error 7), unlike a shift's
3fn main to int
4x = ulong 1
5b = uchar 3
6y = rotr x b
7ret int and y 255
8end