bijington/expressive

Modify Operators to allow for the evaluation of aggregate types

Closed this issue · 0 comments

Currently if either side of an operation (i.e. *) then the result will be null.

Propose that all (if possible) BinaryExpressions are modified to handle aggregates.
Example:

{ 2, 2, 2 } * 2 -> { 4, 4, 4 }
{ 2, 2, 2 } * { 2, 2, 2 } -> { 4, 4, 4 }

As an addition we could introduce a new array data type into the parser to allow for hard-coded arrays to be defined.