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 / si / harness / examples / trap4_loop.om

10 lines · 194 bytes Raw Blame History
1note trap4_loop: one pass more than the bound traps 4, exit 104
2text before "before\n"
3fn main to int
4k = write 1 before 0 len before
5i = ulong 0
6while lt i 10 bound 5
7i = add i 1
8end
9ret 0
10end