string-math icon indicating copy to clipboard operation
string-math copied to clipboard

Implicit multiplication not working

Open BracoZS opened this issue 9 months ago • 2 comments

Trying to do implicit multiplication like var result = "4(4)".Eval() or "(8)(8)".Eval() gives me this error: StringMath.MathException: Unexpected token ( at position 4. Expected [EOC] at StringMath.Parser.Match(TokenType tokenType)...

BracoZS avatar May 06 '25 04:05 BracoZS

Hi, implicit operators are not supported.

miroiu avatar May 06 '25 06:05 miroiu

It would be great if it could be added. thanks

BracoZS avatar May 06 '25 16:05 BracoZS