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 / om2 / s1 / kw-long-names.om

25 lines · 506 bytes Raw Blame History
1note S1: a function name of 9..63 bytes whose first 8 bytes spell an 8-byte keyword (continue, truncate)
2note is a name, not that keyword: defined, called in a value, called as a statement, two of them told
3note apart in full. Exit 0, else the failing check's number.
4om2
5fn continue_x a long to long
6ret add a 1
7end
8fn continue_y a long to long
9ret add a 2
10end
11fn truncate_it to void
12ret
13end
14fn main to int
15x = continue_x 3
16if ne x 4
17ret 1
18end
19y = continue_y 10
20if ne y 12
21ret 2
22end
23truncate_it
24ret 0
25end