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 / bridge / omega-bridge / tests / native / g1 / calc.om

9 lines · 175 bytes Raw Blame History
1fn calc i0 ulong i1 ulong to ulong
2v = new ulong 5 0
3put v 0 i0
4put v 1 i1
5put v 2 add get v 0 get v 1
6put v 3 sub get v 0 get v 1
7put v 4 mul get v 2 get v 3
8ret get v 4
9end