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 / qualification / om2 / sec / s3s4 / slots-internal.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note Contract section 4 lines 99-101 and errata E2 (unsized parameters on internal functions): the |
| 3 | note slot rule holds for every function of a function-mode unit. Internal g: 3 unsized + 1 scalar = 7 slots, |
| 4 | note error 9 at line 6 (the signature of g, read before the entry f). |
| 5 | om2 |
| 6 | fn g a view uchar * b view uchar * c view uchar * d ulong to ulong |
| 7 | ret add d add len a add len b len c |
| 8 | end |
| 9 | fn f a view uchar 4 b view uchar 4 c view uchar 4 to ulong |
| 10 | ret g a b c 1 |
| 11 | end |