Skip to content

feat: Add support for Lua 5.1#5

Open
mcepl wants to merge 2 commits intoeditorconfig:masterfrom
openSUSE-Python:lua51-compatibility
Open

feat: Add support for Lua 5.1#5
mcepl wants to merge 2 commits intoeditorconfig:masterfrom
openSUSE-Python:lua51-compatibility

Conversation

@mcepl
Copy link
Copy Markdown

@mcepl mcepl commented Oct 5, 2025

This commit introduces compatibility with Lua 5.1/LuaJIT by:

  • Lowering the required Lua version in CMakeLists.txt and the rockspec file.
  • Adding compatibility functions for 'luaL_setfuncs' and 'luaL_newlib'.
  • Using 'lua_Number' and 'lua_pushnumber' for compatibility with Lua 5.1.

mcepl added 2 commits October 6, 2025 00:03
This commit introduces compatibility with Lua 5.1 by:

- Lowering the required Lua version in CMakeLists.txt and the
  rockspec file.
- Adding compatibility functions for 'luaL_setfuncs' and
  'luaL_newlib'.
- Using 'lua_Number' and 'lua_pushnumber' for compatibility with
  Lua 5.1.

Signed-off-by: Matěj Cepl <mcepl@cepl.eu>
@mcepl mcepl force-pushed the lua51-compatibility branch from dbcc5ff to 8278a04 Compare October 10, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant