Skip to content

Variables

AbySS favors explicitness: you always declare the type and whether the binding may change.

Use forge to create an immutable value.

forge x: arcana = 42;
forge greeting: rune = "Welcome to AbySS!";

Introduce morph when the variable must change over time.

forge morph counter: arcana = 10;
counter += 5;
  • forge evokes crafting something new at the anvil.
  • morph signals that the binding may shift form mid-spell.

Prefer immutable bindings unless mutation communicates intent or improves clarity.