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 / bridge / omega-bridge / tests / native / fill.om

10 lines · 194 bytes Raw Blame History
1note writes 11 and 22 into buf, traps 3 when k is 1, else writes 33 and returns 3
2fn fill buf edit ulong 4 k ulong to ulong
3put buf 0 11
4put buf 1 22
5if eq k 1
6trap 3
7end
8put buf 2 33
9ret 3
10end