Structs, classes and enums
The types a script declares itself: structs copied as values, classes shared as objects, enums taken apart with match.
Structs
Structs in Balaur Script: fields, defaults and optional fields, literals that name what differs, and how a struct copies as one value.
Classes
Classes in Balaur Script: one object every holder shares, methods in impl, self, links through optionals, and when to pick a class over a struct.
Enums
Enums in Balaur Script: variants that carry nothing, values by position or named fields, how to make one, and how they behave as values.
Pattern matching
match in Balaur Script: arms, binding what a variant carries, catch-alls, exhaustiveness, match as a value, and leaving from an arm.