gudzpoz / luajava

Lua for Java on Windows, Mac OS X, Linux, Android. 5.1, 5.2, 5.3, 5.4, LuaJ or LuaJIT.
https://gudzpoz.github.io/luajava/
Other
118 stars 13 forks source link

Add support fo LuaU #182

Open gudzpoz opened 1 month ago

gudzpoz commented 1 month ago

Discussed in https://github.com/gudzpoz/luajava/discussions/178

Originally posted by **osp54** June 2, 2024 Сan you add support for [LuaU](https://github.com/luau-lang/luau)? It has compatibility with lua51(in embedding too), and is its typed superset.
gudzpoz commented 1 month ago

LuaU is not fully compatible with Lua 5.1 C API. And to add to it, the incompatibilities are not well documented yet, making it extra hard to support or to catch up with any breaking changes that might follow.

Currently I don't think I have enough motivation (or energy) to support it (since it can potentially break too many things), but I will happily review any PR that aim to bring such support.

I will summarize the challenges here for anybody that is willing to work on this: