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-trap-r.om

9 lines · 181 bytes Raw Blame History
1om2
2note signed overflow in an unrolled body is not folded: it traps 1 at run time
3fn main to int
4x = long 0
5for i long 2
6x = add long 9223372036854775807 i
7end
8ret int and x 1
9end