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 / host / tests / environment_trap.om

7 lines · 157 bytes Raw Blame History
1note an environment index equal to the count must trap 3 (program exit 103).
2fn main to int
3c = ulong envcnt
4a = new uchar 8 0
5n = envread c a 0 8
6ret 0
7end