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 / omc / tests / struct / t3.om

8 lines · 141 bytes Raw Blame History
1struct A x int end
2struct B y int z int end
3fn main to int
4p = new A 5
5q = new B 4 5
6put q z mul get p x get q y
7ret sub get q z get p x
8end