Why won't it be compatible? Any code written in Lua 5.1 will run on LuaJIT.

But not the other way around.

LuaJIT has always been a superset of 5.1.

Which is why it should be a new language. Like C and C++.