Moved semantics of scalars to interpreter. AST should only represent syntax.