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 / si / harness / examples / mistake_compare_operator.om
| 1 | note mistake_compare_operator: conditions are bool values built with eq ne lt le gt ge; > is not a word. Fix: if gt x 0 |
| 2 | fn main to int |
| 3 | x = int 1 |
| 4 | if x > 0 |
| 5 | ret 1 |
| 6 | end |
| 7 | ret 0 |
| 8 | end |