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 / p-wrap.om
| 1 | note S4 part, #748 golden shape: count 10, o = 2^64-2, k = 4. o <= len fails: trap 3 (exit 103). The |
| 2 | note wrapped o + k = 2 <= 10 would accept and print 4. |
| 3 | om2 |
| 4 | fn plen v view uchar * to ulong |
| 5 | ret len v |
| 6 | end |
| 7 | fn main to int |
| 8 | a = new uchar 10 0 |
| 9 | o = ulong 18446744073709551614 |
| 10 | ret int plen part a o 4 |
| 11 | end |