Closed mzijlstra closed 7 years ago
Realized that eval should return an object with the result values, and the current (possibly affected) values of the variables.
Shouldn't be too hard to implement, and then will provide support for side effects across the board, regardless of where the variable is inside the expression.
Updated eval, instead of returning an object with result values the code inside eval checks if the current state is not running, and then reaches into the stack and updates the values with newer ones
Currently the call element has limited support for side effects -- it would be good to put this support into all elements that have expressions