> print(_VERSION)
Lua 5.1
But there are multiple versions of Lua 5.1
http://www.lua.org/ftp/
Looks like the Lua page could use a rewrite. I’ll work on that tomorrow.
Our version of Lua is internally labelled as being Lua 5.1.4, and the final release of Lua 5.1 was 5.1.5 in 2012.
You can ctrl+f for bugs fixed in 5.1.5 on this page (for some reason, they’re sorted by the version the bug was discovered in or first appeared in, rather than the order they were fixed): Lua: bugs
Do note that not all (or possibly none?) of these bugs remain unfixed in our version of Lua. We have modified it significantly, including backporting some features and bug fixes from newer versions.
Update (May 2022): Our forked version of Lua called Luau and is open source. It has several unique features, like a type system, and significantly better performance. GitHub - luau-lang/luau: A fast, small, safe, gradually typed embeddable scripting language derived from Lua