You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Major refactor is happening in branch visitor-pattern. We are change way we interpreter values for a visitor pattern, this way we can handle edges cases like this one. Also it will prevent leaks of variables for example
var a ="global";
function () {
function showA() { puts(a); }
showA();
var a = "local";
showA();
}();
gravataLonga
changed the title
Edges cases when function identifier isn't yet declare
Refactor evaluator class to interpreter class visitor-pattern branch
Aug 7, 2022
There are some edges cases when function identifier isn't declare, e.g.:
This will give error, because
add
identifier isn't yet declare, we need more study on this.The text was updated successfully, but these errors were encountered: