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-cond-1.om
| 1 | note sites: found by a one-token change of a tracked program; reaches the omc error site in cond (code 7) |
| 2 | fn clamp_add_u16 a uint b uint to uint |
| 3 | s = add a b |
| 4 | if uchar s 65535 |
| 5 | ret 65535 |
| 6 | end |
| 7 | ret s |
| 8 | end |