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 / evidence / ONE-LAYER-2 / generations / smoke-dev01-b / gen / b-structured-1 / dev01 / r1.payload

24 lines · 481 bytes Raw Blame History
1{
2 "functions": [
3 {
4 "name": "clamp_add",
5 "params": ["u8", "u8"],
6 "ret": "u8",
7 "locals": ["u8"],
8 "blocks": [
9 [
10 {"op": "add", "dst": 2, "a": 0, "b": 1},
11 {"op": "br", "to": 1}
12 ],
13 [
14 {"op": "const", "dst": 3, "value": 255},
15 {"op": "cbr", "cond": 2, "then": 0, "else": 1},
16 {"op": "ret", "a": 3}
17 ],
18 [
19 {"op": "ret", "a": 2}
20 ]
21 ]
22 }
23 ]
24}