3.1 算术操作符
“+”(加法)、“-”(减法)、“*”(乘法)、“/”(除法)、“^”(指数)、“%”(取模)。
3.2 关系运算符
< > <= >= == ~=
3.3 逻辑操作符
and、or和not。
有一种常用的Lua习惯写法“x=x or v”,它等价于: if not x then x = v end
3.4 字符串连接
使用操作符“..”(两个点)。
print("hello " .. "World") --> Hello World
print(0 .. 1) --> 01
Lua中的字符串是不可变的值(immutable value)。
3.5 优先级
……
3.6 table构造式(table constructor)
http://www.cnblogs.com/moonlightpoet/p/5681505.html