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 / gpu / nvidia / om / apirest / copy.om
| 1 | om2 |
| 2 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 3 | fn arcopy x view uchar * y edit uchar * to ulong |
| 4 | if gt len x len y |
| 5 | ret 1 |
| 6 | end |
| 7 | for i ulong 18446744073709551615 |
| 8 | if ge i len x |
| 9 | break |
| 10 | end |
| 11 | put y i get x i |
| 12 | end |
| 13 | ret 0 |
| 14 | end |