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 / tests / one_layer / omegese / dev / dev09.omegese

10 lines · 114 bytes Raw Blame History
1fn bitrev8 x uchar to uchar
2r = uchar 0
3for i uint 8
4r = shl r 1
5b = and x 1
6r = or r b
7x = shr x 1
8end
9ret r
10end