Closed kyleplo closed 5 years ago
The library doesn't support implicit multiplication like that. It's something I'd like to add in the future, but I don't have a definite timeline. For now, you have to use the *
operator, so your expression would need to be m*(2 - 7) + m*(2*m)
.
The m(2m)
part actually only parses because of a bug that makes the parser more forgiving than it should be, and is equivalent to m(2, m)
. I'll need to fix that at some point.
Ok, thanks
Here is my code:
I would expect it to return -2, but instead there is an error.