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 / host / tests / links_short.om
| 1 | note a one-record packed list must be refused before any kernel call: link needs exactly two. |
| 2 | fn main to int |
| 3 | list = new uchar 16 0 |
| 4 | put list 0 1 |
| 5 | put list 1 0 |
| 6 | put list 2 1 |
| 7 | put list 3 0 |
| 8 | put list 4 97 |
| 9 | r = link list 0 5 |
| 10 | ret 0 |
| 11 | end |