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 / security673 / relational / evidence / gate1 / 15.src
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | fn early a view uchar 32 b view uchar 32 to ulong |
| 3 | for i ulong 32 |
| 4 | if ne get a i get b i |
| 5 | ret 0 |
| 6 | end |
| 7 | end |
| 8 | ret 1 |
| 9 | end |
| 10 | note SPDX-License-Identifier: Apache-2.0 |
| 11 | fn main to int |
| 12 | a = new uchar 32 0 |
| 13 | b = new uchar 32 0 |
| 14 | put b 0 uchar sub ulong argcnt 1 |
| 15 | ret int early a b |
| 16 | end |