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
omega-mv / seed / qualification / om2 / sec / s4fuel / fuel-inl-mainfirst.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note E14/E16 fuel, inline variant with main FIRST: the same f1..f4 chain; main is compiled before any inline function. |
| 3 | om2 |
| 4 | fn main to int |
| 5 | f1 |
| 6 | ret 0 |
| 7 | end |
| 8 | fn f4 to void inline |
| 9 | end |
| 10 | fn f3 to void inline |
| 11 | for i ulong 64 unroll |
| 12 | f4 |
| 13 | end |
| 14 | end |
| 15 | fn f2 to void inline |
| 16 | for i ulong 64 unroll |
| 17 | f3 |
| 18 | end |
| 19 | end |
| 20 | fn f1 to void inline |
| 21 | for i ulong 64 unroll |
| 22 | f2 |
| 23 | end |
| 24 | end |