This change implements unary operator evaluation, including prefix/postfix assignment operators. Doing this required implementing l-values properly in the interpreter; namely, load location and dereference, when used in an l-value position, result in a pointer to the location, while otherwise they (implicitly, in load location's case) deference the location and yield a value. |
||
---|---|---|
.. | ||
binder.go | ||
compiler.go | ||
eval.go | ||
new.go |