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 / si / harness / examples / trap_code.om

6 lines · 165 bytes Raw Blame History
1note trap_code: trap N for N in 1..14 exits 100+N; use it for your own fatal codes
2text before "before\n"
3fn main to int
4k = write 1 before 0 len before
5trap 14
6end