Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/ng/tests/ir/x-envcap.om # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / ng / tests / ir / x-envcap.om` 20 lines ยท 547 bytes Raw Blame History 1 note bay 3 review of `2d6ed949`: execenv whose environment packet holds 65 nonempty records ("A=1"), one past 2 note the 64-record cap that the environment keeps under omc `564c5835`, traps 3 before any kernel call 3 note (OMEGESE s10); the exec argument cap (1024 records) must not reach the environment packet. 4 fn main to int 5 a = new uchar 5 0 6 put a 0 1 7 put a 2 1 8 put a 4 120 9 b = new uchar 327 0 10 put b 0 65 11 for j ulong 65 12 q = add 2 mul j 5 13 put b q 3 14 put b add q 2 65 15 put b add q 3 61 16 put b add q 4 49 17 end 18 k = execenv a 0 5 b 0 327 19 ret int and k 255 20 end