Safely evaluate literal Lua expressions