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 / s0s2 / exp / x1.fmt
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note omegese-om2.md 2 lines 63-72: formatter input (the rest after 'om2 fmt'); spacing kept in notes. |
| 3 | note note lines are preserved exactly, tabs and double spaces included. |
| 4 | om2 |
| 5 | text msg "a b\t \"q q\" \\ " |
| 6 | text t2 " " |
| 7 | |
| 8 | fn twice a ulong to ulong |
| 9 | ret mul a 2 |
| 10 | end |
| 11 | fn main to int |
| 12 | x = ulong 0x15 |
| 13 | y = twice x |
| 14 | |
| 15 | r = write 1 msg 0 len msg |
| 16 | ret int y |
| 17 | end |