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-renpkt.om
| 1 | note bay 1 review of 36edfca2: renames on a packet with trailing bytes traps 3 before any kernel call, |
| 2 | note even though its first name is absolute (ngrun would otherwise refuse it as outside scratch, 119). |
| 3 | fn main to int |
| 4 | a = new uchar 11 0 |
| 5 | put a 0 2 |
| 6 | put a 2 2 |
| 7 | put a 4 47 |
| 8 | put a 5 120 |
| 9 | put a 6 1 |
| 10 | put a 8 98 |
| 11 | put a 9 122 |
| 12 | put a 10 122 |
| 13 | k = renames a 0 11 0 |
| 14 | ret int and k 255 |
| 15 | end |