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 / qualification / om2 / sec / s5s7 / om1 / t-order.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note OM-1 twin of v6-part-order.om: arguments are read left to right (OMEGESE 9.2), so the first |
| 3 | note argument's divide trap 2 wins over the second's conversion trap 5: exit 102. |
| 4 | fn g a ulong b ulong to ulong |
| 5 | ret add a b |
| 6 | end |
| 7 | fn main to int |
| 8 | z = ulong 0 |
| 9 | m = long -1 |
| 10 | r = g div 10 z ulong m |
| 11 | ret 0 |
| 12 | end |