When using simple modulo operations like '4 % 2' I always get undefined as result.
It seems that the modulo operation is missing as case in the big switch expressions in compiler.ts and shunting-yard.ts
switch (node.operation) {
case '*':
return left * right;
case '/':
return left / right;
case '%': <-- this one is missing
return left % right;
When using simple modulo operations like
'4 % 2'I always getundefinedas result.It seems that the modulo operation is missing as case in the big switch expressions in
compiler.tsandshunting-yard.ts