Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Lua versions #20

Open
SolraBizna opened this issue Jul 11, 2024 · 0 comments
Open

Multiple Lua versions #20

SolraBizna opened this issue Jul 11, 2024 · 0 comments
Labels
difficulty: major damage Extensive consequences throughout the engine. type: enhancement New feature or request

Comments

@SolraBizna
Copy link
Member

This is related to #2. Aleph Bet's current Lua scripting implementation uses only (modified) Lua 5.2. This misses out on some features and improvements that were added in later versions. Upgrading to a later Lua version is not possible without breaking at least some older scripts.

With a lot of care and grunt work, it would be possible to decouple the Lua version from the Lua scripting interface. We could then have individual scripts choose whether they are run with Lua 5.2 or (say) Lua 5.4. LuaJIT could even be an option (with the caveat that it is not available on all architectures, and doesn't include post-5.1 features).

Primarily for namespacing reasons, the requisite work would be easier if it were done in Rust (#10 strikes again).

@SolraBizna SolraBizna added type: enhancement New feature or request difficulty: major damage Extensive consequences throughout the engine. labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: major damage Extensive consequences throughout the engine. type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant