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-symlpkt.om
| 1 | note bay 5 review of b203fc8c (same class as x-sleepneg): symlnk on a packet with one record (two are required) traps 3 before |
| 2 | note any kernel call (OMEGESE s10); ngrun refuses symlnk (121) only after that check. |
| 3 | fn main to int |
| 4 | a = new uchar 5 0 |
| 5 | put a 0 1 |
| 6 | put a 2 1 |
| 7 | put a 4 97 |
| 8 | k = symlnk a 0 5 |
| 9 | ret int and k 255 |
| 10 | end |