variable, global, and lit cases of compile_val