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-scalar-idx.om

15 lines · 303 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 5 layout line 158 with errata E5/E8: an extra index on a scalar field (COUNT omitted)
3note is error 5.
4om2
5layout one 4
6field v uint at 0 big
7end
8fn fill x edit one to void
9put x v 0 0x01020304
10end
11fn main to int
12c = new uchar 4 0
13fill c
14ret 0
15end