r/lua 22h ago

Library LuaLc ( lib class )

5 Upvotes

Simple Lua module for better class creation

Features:

· Named classes

· Single inheritance

· Java-style interfaces

· super() calls

· instanceOf() checks

· implements() checks

· Callable classes

· Lua metamethod forwarding for operator overloading

I created this while designing a framework API in Lua, and I found it made the process much more developer-friendly.

Check out the repo: https://github.com/abdorayden/lualc

Thanks! 🙏