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
omega-mv / tests / one_layer / omegese / nested / dev03.omegese
| 1 | fn popcount x ulong to uchar |
| 2 | n = uchar 0 |
| 3 | for i uint 64 |
| 4 | n = add n uchar and x 1 |
| 5 | x = shr x 1 |
| 6 | end |
| 7 | ret n |
| 8 | end |