Blue v7 Docs

Interpretation Semantics

Since Blue is a colorForth dialect, its interpretation semantics are closer to that of an assembler than a traditional Forth. Word definitions are just labels and one word can fallthrough to the next. Labels can be placed anywhere and used as call/jmp targets, variables, or have their address pushed on the data stack.

By default every word/number is immediate. Words in between a label and `;` are treated no differently than those at the top level. In fact, `;` itself is just a user defined word. For x86_64 it simply adds 0xC3 to the output.

Any word/number can be postponed. This is useful for, but not limitied to, constructing macros and words that are run at assemble-time.