Skip to content

Added lua scripting support (#6454)#18789

Open
eadmaster wants to merge 4 commits intolibretro:masterfrom
eadmaster:lua_scripting2
Open

Added lua scripting support (#6454)#18789
eadmaster wants to merge 4 commits intolibretro:masterfrom
eadmaster:lua_scripting2

Conversation

@eadmaster
Copy link
Contributor

Description

Initial support for LUA scripting.
The LUA API is mostly compatible with BizHawk.
The differences are documented here, with some basic usage instructions.

Related Issues

#6454

Related Pull Requests

Reviewers

@eadmaster
Copy link
Contributor Author

eadmaster commented Mar 7, 2026

The module is now auto-enabled on all C99-compatible targets (required by the lua makefile here).

Maybe it is possible to enable compatibility with C89 by setting LUA_USE_C89 (untested), but it will require some refactorings.

@eadmaster eadmaster marked this pull request as ready for review March 7, 2026 03:22
@RobLoach
Copy link
Member

RobLoach commented Mar 8, 2026

Oh, this is 🔥

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.

2 participants