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 / omc / om2 / s4 / o-out.om
| 1 | note S4 out (spec 6, erratum E1): an exported entry with an unsized view, an out of 4 bytes and a scalar |
| 2 | note (slots x0 s, x1 len s, x2 r, x3 k); r is written element by element (bytes pinned). |
| 3 | om2 |
| 4 | export fn rev s view uchar * r out uchar 4 k uchar to void |
| 5 | for i ulong 4 |
| 6 | put r i add k get s sub 3 i |
| 7 | end |
| 8 | end |