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-inl.om

26 lines · 626 bytes Raw Blame History
1note S3 E16 fuel (D-S3-1 regression): inline expansions cost 1 at the call line and unrolls K at the loop
2note line, in emission order. main comes first, so its expansion is compiled first: f1 call 1, f1 loop 64,
3note 7 f2 expansions of 8321, the 8th f2 call and loop (58377), 55 f3 expansions of 129 (65472), the 56th
4note f3 call (65473); its loop (line 13) takes the total to 65537: error 14 on line 13.
5om2
6fn main to int
7f1
8ret 0
9end
10fn f4 to void inline
11end
12fn f3 to void inline
13for i ulong 64 unroll
14f4
15end
16end
17fn f2 to void inline
18for i ulong 64 unroll
19f3
20end
21end
22fn f1 to void inline
23for i ulong 64 unroll
24f2
25end
26end