Skip to content

Language Overview

The language surface has outgrown a single “basics” page. Use this page as the entry point into the deeper language guides.

  • signed and unsigned integer types, usize, and f32/f64
  • booleans
  • null
  • strings
  • grouping expressions
  • var and const bindings with local inference
  • assignment, compound assignment, ++, and --
  • if, while, classic for, foreach, break, continue, and labeled loops
  • arrays, sets, and dictionaries
  • named functions, lambdas, recursion, and closures
  • type ... struct, aliases, methods, this, inheritance, and super
  • source modules and native packages through @import(...)
  • nullable types with ?
  • explicit casts with as and the any interop type

The syntax edge cases live in Syntax Rules. Runtime helpers live in Built-in Functions.