hematita icon indicating copy to clipboard operation
hematita copied to clipboard

Modulo operator not implemented?

Open b1ek opened this issue 2 years ago • 1 comments

Modulo operator as simple as that:

print(5 % 2)

Gives out this error:

$ hematita_cli a.lua
runtime error: unknown binary operation error

Probably modulo operator is not properly implemented?

b1ek avatar Jul 31 '23 12:07 b1ek

Yes, I tried to figure out why by myself. It seems that not all the operators are implemented in the vm part.

myzhan avatar Oct 07 '23 09:10 myzhan