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 / l5-view-put.om

17 lines · 393 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 5 layout line 156 with OMEGESE 9.4: put through a `view` layout parameter is error 20
3note (confirmed by erratum E8).
4om2
5layout shactx 104
6field state uint 8 at 0 little
7field count ulong at 32 little
8field buf uchar 64 at 40 little
9end
10fn poke c view shactx to void
11put c count 1
12end
13fn main to int
14c = new uchar 104 0
15poke c
16ret 0
17end