Getting Started

Syntax overview

A guided tour of the Vary language, organized by topic. Each page is self-contained and links to detailed reference pages.

PageCovers
BasicsComments, variables, types, optionals, strings
CollectionsLists, dicts, sets, comprehensions
FunctionsFunctions, lambdas, operators
Control flowIf/elif/else, while, for, match/case
Types and dataClasses, data types, interfaces, enums, generics
Error handlingContracts, try/except, Result type, defer
Modules and moreImports, concurrency, testing, embedded DSLs
← Getting started
CLI reference →