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 / r2.content

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