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 / sites / found-sa-arr-1.om
| 1 | note sites: found by a one-token change of a tracked program; reaches the omc error site in sa-arr (code 9) |
| 2 | fn gcd_u32 a uint b uint to uint |
| 3 | x = a |
| 4 | y = b |
| 5 | while gt y 0 |
| 6 | t = new x y |
| 7 | x = y |
| 8 | y = t |
| 9 | end |
| 10 | ret x |
| 11 | end |