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 / s1 / om1-names.om
| 1 | note an OM-1 unit keeps rotr, fresh and at as user names |
| 2 | fn rotr x uint n uint to uint |
| 3 | ret or shr x n shl x sub 32 n |
| 4 | end |
| 5 | fn main to int |
| 6 | fresh = uint 1 |
| 7 | at = rotr 2 1 |
| 8 | ret int add fresh at |
| 9 | end |