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 / s2 / mut / cyc.from

30 lines · 798 bytes Raw Blame History
1fn s_eof to void
2if eq get chkmode 0 2
3emit_query
4end
5if ne get curret 0 0
6note d2site 323|s_eof: missing end; condition if ne get curret 0 0
7put d2site 0 323
8fail 15
9end
10if eq get nf 0 0
11note d2site 324|s_eof: syntax: unknown or misplaced word; condition if eq get nf 0 0
12put d2site 0 324
13fail 16
14end
15if ne get om2 0 0
16note inlcyc (OM-2): an inline function that reaches itself through the whole call graph (the calls made,
17note plus an edge from each function to every inline function expanded in it) is error 9 at the end.
18f = ulong 1
19while le f get nf 0
20if ne uchar get a_ar add get a_rb 27 sub f 1 0
21if ne reachself f 0
22put dsev 0 3
23note d2site 325|s_eof: word or declaration in a place that does not allow it; condition if ne reachself f 0
24put d2site 0 325
25fail 9
26end
27end
28f = add f 1
29end
30end