Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modulo operator not implemented? #14

Open
b1ek opened this issue Jul 31, 2023 · 1 comment
Open

Modulo operator not implemented? #14

b1ek opened this issue Jul 31, 2023 · 1 comment

Comments

@b1ek
Copy link

b1ek commented Jul 31, 2023

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?

@myzhan
Copy link

myzhan commented Oct 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants