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
omega-mv / seed / omc / sites / found-s-text-1.om
| 1 | note sites: found by a one-token change of a tracked program; reaches the omc error site in s-text (code 16) |
| 2 | note clock: time, identity and randomness; no file, network or process words. |
| 3 | text ok bool |
| 4 | fn main to int |
| 5 | t = monons |
| 6 | p = getpid |
| 7 | b = new uchar 8 0 |
| 8 | r = random b 0 8 0 |
| 9 | if or le t 0 le p 0 |
| 10 | ret 1 |
| 11 | end |
| 12 | w = write 1 ok 0 len ok |
| 13 | ret 0 |
| 14 | end |