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 / omc / om2 / hex / ref / r8-trap.om

10 lines · 219 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note spec/omegese-om2.md section 2 lines 53-58 (#745): trap code 0xf = 15 past 14; error 8 on the literal's line.
3om2
4fn main to int
5k = ulong 0
6if eq k 1
7trap 0xf
8end
9ret 0
10end