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
instead of the whole stack thing, when encountering a variable decl, introduce a new Local, and when compiling an expression, a new Temp.
That probably means a State that keeps:
Local mapping Map String Local (local name => var idx).
Without shadowing, otherwise need to find a different way)
The last Temp seen (and a function newTemp that increments the one in the State and returns it).