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 / sites / found-vs-off-1.om

21 lines · 402 bytes Raw Blame History
1note sites: found by a one-token change of a tracked program; reaches the omc error site in vs-off (code 7)
2note Supervisor negative controls: known wrong exit, self-signal, deadline overrun.
3global mode uchar 1
4fn main to int
5if ne read 0 mode long 1 1
6ret 90
7end
8m = get mode 0
9if eq m 0
10ret 7
11end
12if eq m 1
13r = killpid int getpid 9
14ret 98
15end
16if eq m 2
17r = sleepns 45000000000
18ret 98
19end
20ret 90
21end