An expression is the smallest unit of code (a combination of values and functions) that has a result when evaluated.
The example below is an if ... else expression, meaning that if the value meets a named criteria, it's one thing, but if not, then it's something else.
if (a > 5):
“Big!”
else
“Small!”In Verse, everything is an expression, from literals to function calls or control flow.
This compares to a statement, which is a standalone command that does not have a resulting value. In Verse, everything is an expression, and there is no distinction between statements and expressions that can evaluate to a value.
For more in-depth info, see Expressions.