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

16 lines · 507 bytes Raw Blame History
1note bay 3 review of 2d6ed949: execenv whose environment packet is well formed but 4097 bytes (one record of
2note 4093 bytes), one past the 4096-byte cap that the environment keeps under omc 564c5835, traps 3 before any
3note kernel call (OMEGESE s10); the exec argument caps (65536 bytes) must not reach the environment packet.
4fn main to int
5a = new uchar 5 1
6put a 1 0
7put a 3 0
8put a 4 120
9b = new uchar 4097 65
10put b 0 1
11put b 1 0
12put b 2 253
13put b 3 15
14k = execenv a 0 5 b 0 4097
15ret int and k 255
16end