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 / om / quantity / fixtures / mixed-scalar.om
| 1 | note Compile after quantity.om; expected compiler error7 at qadd scalar argument. |
| 2 | fn main to int |
| 3 | out = new bqty ulong 0 ulong 9 |
| 4 | a = new bqty ulong 1 ulong 9 |
| 5 | raw = ulong 1 |
| 6 | ret qadd out a raw |
| 7 | end |