whitespace

whitespace, concept

Envision uses significant whitespace. Blocks begin when indentation increases and end when it decreases. Indentation steps are two spaces. An increase by one or three spaces is a lexer error.

Line continuation

A line can be continued by increasing indentation by four spaces or more, or by breaking inside delimiters such as (...), [...], or {...}.

total = 42
    + 18
    + 1337

sum = (1
  + 2
  + 3)

show summary "Totals" with total, sum

This outputs the following list:

Label Value
total 1397
sum 6
User Contributed Notes
0 notes + add a note