With expressions enclosed in parentheses, it's even possible to construct variable names and create some very obfuscated code. For example:
set a.1 Adam;
set a.2 Abel;
set Abel.brother.1 Cain;
set Abel.brother.2 Seth;
echo #a.{- 5 4};
echo #{#{chr - ord b 1}.2}.b{rot}her.{!= brother keeper};
The output is:
Adam
Cain
Note that rot is just a bare string, and {rot} just gets replaced with rot during preprocessing.
With expressions enclosed in parentheses, it's even possible to construct variable names and create some very obfuscated code. For example:
The output is:
Note that
rot
is just a bare string, and{rot}
just gets replaced withrot
during preprocessing.