omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
omega-harness / examples / mistake_om2_word_open.om
| 1 | om2 |
| 2 | note mistake_om2_word_open: open is reserved in OM-2 mode, so it cannot name a value after the om2 line (error 16). In a plain unit it is an ordinary name, as fresh is in om2_word_plain.om. Fix: pick another name. |
| 3 | fn main to int |
| 4 | open = uint 3 |
| 5 | ret int open |
| 6 | end |