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 / om2 / s5 / dit-neg.om
| 1 | note S5 dit: a negative int is outside {0, 1}: trap 3 (exit 103). |
| 2 | om2 |
| 3 | fn main to int |
| 4 | v = int 2 |
| 5 | a = dit sub v 3 |
| 6 | ret int a |
| 7 | end |