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-rdval-11.om

10 lines · 221 bytes Raw Blame History
1note sites: found by a one-token change of a tracked program; reaches the omc error site in rdval (code 16)
2fn bitrev_u16 x uint to uint
3r = uint 0
4v = x
5for i ulong 16
6r = or (shl r 0 (and v 1)
7v = shr v 1
8end
9ret r
10end