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-continue-om1.om

15 lines · 453 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note OM-1 TWIN of unroll-continue-rolled.om for the pinned compiler 734f0a39: exit 3.
3note Contract section 4 line 90: continue in an unrolled body is error 9 (line 9, the continue). The
4note same text without unroll (unroll-continue-rolled.om) is accepted and exits 3.
5note OM-1 unit: this line replaces the om2 line
6fn main to int
7s = ulong 0
8for i ulong 4
9if eq i 2
10continue
11end
12s = add s 1
13end
14ret int s
15end