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 / s5 / dit-neg.om

7 lines · 125 bytes Raw Blame History
1note S5 dit: a negative int is outside {0, 1}: trap 3 (exit 103).
2om2
3fn main to int
4v = int 2
5a = dit sub v 3
6ret int a
7end