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 / om2_word_plain.om
| 1 | note om2_word_plain: without the om2 line an OM-2 word such as fresh is an ordinary name, so this compiles and exits 3. With om2 first it is error 16 (mistake_om2_word_name.om) |
| 2 | fn main to int |
| 3 | fresh = uint 3 |
| 4 | ret int fresh |
| 5 | end |