Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 646 Bytes

keywords.md

File metadata and controls

15 lines (11 loc) · 646 Bytes

Keywords

Arcane supports the following reserved keywords:

  • if: Begins a conditional statement.
  • else: Provides an alternative branch for a conditional. Can be coupled with if for an else if
  • for: Initiates a for-loop with initializer, condition, and post-expression.
  • while: Initiates a while-loop that continues based on a condition.
  • return: Exits a function with an optional return value.
  • continue: Skips the remaining code in the current loop iteration.
  • break: Exits a loop prematurely.

Additionally, the literals true and false are recognized as Boolean values.

Back to Index