← Back to context

Comment by lassejansen

15 hours ago

The main reason for using a stack was reducing verbosity because for short scripts using variables felt unnecessary when the type-prefix of the command already communicates the variable contents. But it could still be a good idea to have a shorter syntax for assigned variables.

Accessing a variables works like this at the moment:

  <selection-set-text $text="varname">

Keeping the dollar syntax, setting the return value to a named variable could look like this:

  <response-get-text $="varname">