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 / om2 / s2 / fold-guard-r.om

11 lines · 172 bytes Raw Blame History
1om2
2note a trapping operation is not folded: a guarded div stays guarded
3fn main to int
4s = ulong 0
5for i ulong 3
6if ne i 0
7s = add s div ulong 100 i
8end
9end
10ret int s
11end