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 / omc / sites / found-s-const-1.om

18 lines · 569 bytes Raw Blame History
1note sites: found by a one-token change of a tracked program; reaches the omc error site in s-const (code 16)
2note SPDX-License-Identifier: Apache-2.0
3note spec/omegese-om2.md section 2 lines 53-58 (#745): function mode (no fn main) with hex in a const, new length
4note and fill, index, while bound and trap code; fnmode-dec.om is the decimal spelling: same bytes.
5om2
6const KM f32 0xff
7fn f a ulong to ulong
8b = new uchar 0x10 0x0
9put b 0xf uchar and a KM
10k = ulong 0x0
11while lt k 0x3 bound 0xa
12k = add k 0x1
13end
14if eq k 0x0
15trap 0xd
16end
17ret add ulong get b 0xf k
18end