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_name.om
| 1 | om2 |
| 2 | note mistake_om2_word_name: fresh, out, seal and open are reserved only in OM-2 mode, so fresh cannot name a value here. Without the om2 line the same name compiles (om2_word_plain.om). Fix: pick another name, for example fr |
| 3 | fn main to int |
| 4 | fresh = uint 3 |
| 5 | ret int fresh |
| 6 | end |