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 / protocol / omnet / om / sha512 / test / trap.om

9 lines · 303 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note trap.om: concatenated after sha512.om. A length one past the capacity (65537) must trap 3,
3note so this program exits 103 (trap 3 -> exit 100 + 3) and never reaches ret 0.
4fn main to int
5m = new uchar 65536 0
6o = new uchar 64 0
7s512hash m 65537 o
8ret 0
9end