Syntax
This page explains the general structure of programs in the language. This is useful for understanding other pages in the wiki.
Expressions
Expressions are the core building blocks for computation. They return values when evaluated. An expression can be the application of some operator or a literal value. Expressions are combined inside each other to form more complex expressions.
You can read more on different kinds of expressions on the following pages:
References
Some expressions are references. These are expressions that refer to a place that stores a value.
When evaluated normally, they return the value stored at that place,
but the can also be assigned to change the value stored there as well as be deleted with the delete
statement.
Some operations that require references are: assignment, property access and array access, and increment and decrement
Statements
Statements are parts of code that do something. This includes the expression statement, that evaluates an expression (with possible side effects) and the block statement, that groups statements together and creates a new scope as well as many others. See the full page for more information.