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 / ng / tests / ir / x-envcap.om

20 lines · 547 bytes Raw Blame History
1note bay 3 review of 2d6ed949: execenv whose environment packet holds 65 nonempty records ("A=1"), one past
2note the 64-record cap that the environment keeps under omc 564c5835, traps 3 before any kernel call
3note (OMEGESE s10); the exec argument cap (1024 records) must not reach the environment packet.
4fn main to int
5a = new uchar 5 0
6put a 0 1
7put a 2 1
8put a 4 120
9b = new uchar 327 0
10put b 0 65
11for j ulong 65
12q = add 2 mul j 5
13put b q 3
14put b add q 2 65
15put b add q 3 61
16put b add q 4 49
17end
18k = execenv a 0 5 b 0 327
19ret int and k 255
20end