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

Evaluator cleanup #66

Open
juliaogris opened this issue Feb 13, 2024 · 0 comments
Open

Evaluator cleanup #66

juliaogris opened this issue Feb 13, 2024 · 0 comments

Comments

@juliaogris
Copy link
Member

juliaogris commented Feb 13, 2024

Evaluator clean-ups that have come up because of a closer look at it
during bytecode implementation, especially around value and
builtins:

  • numVal, boolVal, stringVal should be float64, bool and string, rather than strcut wrapping them.
  • return error rather than panic for division by 0 and module by 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant