Skip to main content

Language Reference

A high level description of the Darklang language.

Introduces:

  • built-in types
  • user defined types
    • type aliases
  • type system
    • type checking
    • traits
    • type casting
  • nulls
  • values and functions
    • scope
    • recursion
  • loops, conditionals and patterns
    • if
    • match