feat: adding Lua plugin support#2625
Conversation
|
This PR currently adds 10,572 lines. When running Realistically, neither @joelim-work nor I can review such a large PR, let alone maintain it. I am not against the feature itself, I am just not really sure if this is the way. |
|
No, this is not AI generated. It took me half a month to finish. Most of its size comes from Lua bindings in |
|
Current implementation has a problem. Some bindings call Lua function themself, and this might case dead lock by acquiring Lua state's mutex, which is already occupied by caller of binding function. And I haven't came up with a good solution yet. |
This is Lua plugin support implementation as mentioned in #2616, detail about implementation is written in LUA_DEV.md.
LuaLS meta definition for bindings and module can be found in https://github.com/SirZenith/lf-luals-meta.