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 / apps / aienos-site / om / omega-reference / vendor / examples / err09_disallowed.om
| 1 | note err09_disallowed: a word in a place it is not allowed; new is only in a function's outermost block |
| 2 | fn main to int |
| 3 | if true |
| 4 | a = new uchar 4 0 |
| 5 | end |
| 6 | ret 0 |
| 7 | end |