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 / ng / front / cases / nom_t1.om
| 1 | note Wrapped copy of seed/omc/tests/struct/t1.om for gate-front-ir: main to uint, ulong or long becomes subject (nom-wrap.sh). |
| 2 | struct P x uint y uint end |
| 3 | fn subject to uint |
| 4 | p = new P 20 22 |
| 5 | ret add get p x get p y |
| 6 | end |
| 7 | fn main to int |
| 8 | ret int subject |
| 9 | end |