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 / tests / keywords / names.om
| 1 | note existing .om code uses bits, min, max, abs and sqrt as ordinary names; none may become a keyword. |
| 2 | fn min a ulong b ulong to ulong |
| 3 | ret add a b |
| 4 | end |
| 5 | fn main to ulong |
| 6 | bits = ulong 1 |
| 7 | max = ulong 2 |
| 8 | abs = ulong 3 |
| 9 | sqrt = ulong 4 |
| 10 | ret min bits add max add abs sqrt |
| 11 | end |