Expression

Grammar§

Expression ::= AssignExpression

Semantics§

In the language an expression is the generic term to describe binaries, unaries and primaries. All expression are characterized by

A type§

Styx being statically typed, all expressions have a type.

Lvalue-ness§

All expressions can be read, yielding a rvalue but only a few can be assigned to, e.g IdentExpression that resolve to a VariableDeclaration. In this case they are lvalue.