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 / semhash / dups / a.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note dups fixture a.om: sq and inc; check.sh expects sq to group with b.om sq2 |
| 3 | fn sq x ulong to ulong |
| 4 | ret mul x x |
| 5 | end |
| 6 | |
| 7 | fn inc x ulong to ulong |
| 8 | ret add x 1 |
| 9 | end |
| 10 | |
| 11 | fn main to int |
| 12 | ret int sq inc 2 |
| 13 | end |