v2026.11.0
All Bundles
Bundle

Miscellaneous utilities: a string tokenizer (Parser), a console spinner (Spinner) and a source code formatter (CodeFormatter). Built as misc.obl, not part of lang.obl: compile with -lib misc.

Spinner

Console spinner

Operations

Last # function

Prints the final state

function : Last() ~ Nil

Example

Spinner->Next();
Spinner->Next();
Spinner->Last();
"done"->PrintLine();

Next # function

Prints and advances the spinner to the next state

function : Next() ~ Nil

Example

for(i := 0; i < 20; i += 1;) {
  Spinner->Next();
};
Spinner->Last();