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_c_call.om
| 1 | note mistake_c_call: a call is the function name then its values, no brackets or commas. Fix: ret f 1 2 |
| 2 | fn f a int b int to int |
| 3 | ret add a b |
| 4 | end |
| 5 | fn main to int |
| 6 | ret f(1, 2) |
| 7 | end |