-
Notifications
You must be signed in to change notification settings - Fork 2
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
Wrong formula behavior #8
Comments
Do you mean that writing x should return false? Or does x.eval() return false? |
Oh. x.eval() do return In my experience, REPL will always In current code, we only have two scope env, one for real vars, one for int vars. I think we also need to have an env for formula? |
Glad you are working on this Wei. Right now I think it's okay to separate Yes an env for formula can be useful. |
I see. I suggest add an env for formula too. While this env only keep the Seems like Jichao has an env already, I'll call look up that code. |
There is already an env for formula, it just stores the expr-tree that is generated when REPL reads the formula. I can also make it store the actual formula string if that could be useful later. |
I think it should return false.
The text was updated successfully, but these errors were encountered: