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 / s5s7 / f5-call.om

18 lines · 363 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 5 fresh, line 127: passing the fresh array to a non-inline call is error 27, even after
3note every element is written.
4om2
5fn g t edit uchar 8 to ulong
6ret ulong get t 0
7end
8fn f s edit uchar 8 fresh to ulong
9for i ulong 8 unroll
10put s i 1
11end
12ret g s
13end
14fn main to int
15a = new uchar 8 0
16putd f a
17ret 0
18end