omega-harness
Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories
Brought by drakestapleton
omega-harness / coder / omega-observed.md
| 1 | |
| 2 | - `struct` definitions come before the first `fn`; a `struct` after a function is error 9. |
| 3 | - `global`, `const` and `text` may appear between functions. |
| 4 | - An `if` with an `else` arm: `if COND` ... `else` ... `end`. There is no `elif`, and writing one is not |
| 5 | refused: a line `NAME VALUE` is an assignment, so `elif lt x 5` compiles as a new local named `elif` and |
| 6 | the line after it runs whenever the `if` arm runs (no diagnostic, wrong branch). Nest a second `if` inside |
| 7 | the `else` arm instead. |