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-1.om

13 lines · 235 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 popcount x bool to uchar
4n = uchar 0
5for i uint 64
6b = and x 1
7if eq b 1
8n = add n 1
9end
10x = shr x 1
11end
12ret n
13end