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 / ng / tests / ir / x-execpkt.om
| 1 | note bay 5 review of b203fc8c (same class as x-sleepneg): execprog on a packet whose first record (the program) is empty traps 3 |
| 2 | note before any kernel call (OMEGESE s10); ngrun refuses execprog (115) only after that check. |
| 3 | fn main to int |
| 4 | a = new uchar 4 0 |
| 5 | put a 0 1 |
| 6 | k = execprog a 0 4 |
| 7 | ret int and k 255 |
| 8 | end |