Dodo doc > Syntax > Delimiters


Delimiters

Instruction delimiters are not required in dodo, but line endings are significant. In general an instruction ends when there is no more unclosed bracket, no more expression expecting an operand and a new line starts which is not a block or a continuation. The safest place to start a new line in the middle of an instruction is just after an operator, a comma, a colon or an opening bracket.

In case an instruction delimiter is required, use the semicolon ";".

Rationale: dispensing with delimiters is an important goal of the dodo syntax, as instruction delimiters are a cause of frustration for those new to programming.

^ 2.2. Blocks

v 2.4. Literal Values