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 / s3 / fuel-e16-inlsa.om

27 lines · 672 bytes Raw Blame History
1note S3 E16 fuel: the order of oracle/s4fuel fuel-inl (main last). Every inline function is also compiled
2note standalone in source order (OMEGESE 9.13), each with its own fuel, so f1 is expanded first without the
3note call of f1 itself: f1 loop 64, 7 f2 expansions (58311), the 8th f2 call and loop (58376), 55 f3
4note expansions (65471), the 56th f3 call and loop (65536, still allowed), then its f4 call (line 11) is
5note 65537: error 14 on line 11.
6om2
7fn f4 to void inline
8end
9fn f3 to void inline
10for i ulong 64 unroll
11f4
12end
13end
14fn f2 to void inline
15for i ulong 64 unroll
16f3
17end
18end
19fn f1 to void inline
20for i ulong 64 unroll
21f2
22end
23end
24fn main to int
25f1
26ret 0
27end