This issue and this top comment is a index of various Adaptive Script language changes that are needed. These changes can link to new issues to track particular changes when it helps or pushes can reference this issue. Additional comments in this issue can provide more detail.
Most statements should not affect the result value. Some that can are 'return', 'break', and assignment statements (not ones with let or const).
'let' and 'const' should allow multiple variables to be declared and assigned values.
The initializer of 'for' should be a single 'let', 'const', or assignment statement instead of what it is now.
'=' assignments should be expressions so x = y = 1 should be allowed.
Allow labels on loops, break, and continue. Do not allow it on blocks because that could cause a lot of programmer confusion.
This issue and this top comment is a index of various Adaptive Script language changes that are needed. These changes can link to new issues to track particular changes when it helps or pushes can reference this issue. Additional comments in this issue can provide more detail.
x = y = 1
should be allowed.