interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

branch main Branches Tags History

omega-harness / examples / block_frees_registers.om

26 lines · 381 bytes Raw Blame History
1note block_frees_registers: names first written in a block die at its end and their registers return to the pool
2fn main to int
3a1 = int 1
4a2 = int 2
5a3 = int 3
6a4 = int 4
7a5 = int 5
8a6 = int 6
9a7 = int 7
10a8 = int 8
11a9 = int 9
12a10 = int 10
13if true
14b1 = int 1
15b2 = int 2
16b3 = int 3
17b4 = int 4
18b5 = int 5
19end
20c1 = int 1
21c2 = int 2
22c3 = int 3
23c4 = int 4
24c5 = int 5
25ret add a10 c5
26end