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-ir_val-4.om
| 1 | ir |
| 2 | note sites: found by a one-token change of an IR-mode program; reaches the omc error site in ir_val (code 7) |
| 3 | fn f x int to int |
| 4 | b = lt x false |
| 5 | if b |
| 6 | ret neg x |
| 7 | end |
| 8 | c = xor x 5 |
| 9 | ret c |
| 10 | end |