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 / longnames / long_63.om

11 lines · 708 bytes Raw Blame History
1note long_63: names of exactly 63 bytes, the longest a name may be, are accepted and compared in full:
2note two locals that differ only in their 63rd byte hold 3 and 5, and a function of 63 bytes returns 1,
3note so the result is 3 * 10 + 5 + 1 = 36.
4fn abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijf to int
5ret 1
6end
7fn main to int
8abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijx = int 3
9abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijy = int 5
10ret add add mul abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijx 10 abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijy abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijf
11end