nitc :: NaiveInterpreter :: read_variable
# Retrieve the value of the variable in the current frame fun read_variable(v: Variable): Instance do var f = frames.first.as(InterpreterFrame) return f.map[v] end
# Read a `Variable` from a frame by using its position redef fun read_variable(v: Variable): Instance do return frame.variables[v.position] end