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-read.om

12 lines · 237 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 5 fresh, line 127: passing the fresh array to read is error 27.
3om2
4fn f s edit uchar 8 fresh to ulong
5r = read 0 s 0 8
6ret 0
7end
8fn main to int
9a = new uchar 8 0
10putd f a
11ret 0
12end