interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / qualification / om2 / sec / s3s4 / slots-internal.om

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