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 / qualification / om2 / sec / s3s4 / unroll-kvar.om

13 lines · 273 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note Contract section 4 line 87 (K is a number) and erratum E7: a K that is not a number is error 16,
3note at line 9 (the for line).
4note
5om2
6fn main to int
7n = ulong 4
8s = ulong 0
9for i ulong n unroll
10s = add s 1
11end
12ret int s
13end