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