Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Expressions

Expressions are the main syntactical construction of the language. They represent an operation that yields a value.

Syntax
Expr
      BlockExpr
    | ArithmeticExpr
    | LogicalExpr
    | CallExpr
    | IfExpr
    | Path
    | LiteralExpr
    | ReferenceExpr
    | DereferenceExpr
    | FieldAccess
    | ArrayAccess
    | TupleAccess
    | ( Expr )