Bird

Expressions

Expressions types can be used in combination to return a desired value after undergoing an operation. Supported arithemtic operators: +, -, *, /, %.

Arithmetic Expressions

Birds supports basic arithmetic operators to perform calculations on numeric values.

Comparison Expressions

Comparison expressions return a boolean type indicating the relationship between two values.

Comparison operators: <, >, <=, >=.

Equality operators: ==, !=.

Ternary Expressions

Given an input condition to a ternary expression, the expression will return one of two options based on the condition.

Still here?

Check out the playground!