The basics
Files, variables, operators, control flow and functions: what every Balaur Script file is made of.
Files and items
What a .bs file holds: items in any order, pub, comments, and how statements and expressions end.
Variables and constants
let, type annotations, assignment, scopes and shadowing, and const values fixed for a file.
Operators
Arithmetic, comparison and logical operators in Balaur Script, with their precedence and what each type accepts.
Control flow
if as a value, while, loop, for over ranges and lists, break and continue, and return in Balaur Script.
Functions
Declaring and calling functions: typed parameters, return types, the last expression as the value, and recursion.