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 / omc / sites / found-ir_bin_done-2.om

12 lines · 234 bytes Raw Blame History
1ir
2note sites: found by a one-token change of an IR-mode program; reaches the omc error site in ir_bin_done (code 7)
3fn bitrev8 x uchar to uchar
4r = uchar 0
5for i uint 8
6r = shl r true
7b = and x 1
8r = or r b
9x = shr x 1
10end
11ret r
12end