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_om2_word_out.om
| 1 | om2 |
| 2 | note mistake_om2_word_out: out is reserved in OM-2 mode, so it cannot name a value after the om2 line (error 16). In a plain unit it is an ordinary name, as fresh is in om2_word_plain.om. Fix: pick another name. |
| 3 | fn main to int |
| 4 | out = uint 3 |
| 5 | ret int out |
| 6 | end |