Why would you want "recent" Lua? LuaJIT includes features from newer Lua versions (5.2 and 5.3), and more.
See https://luajit.org/extensions.html.