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

Pull in changes from Lua 5.5 #696

Draft
wants to merge 158 commits into
base: main
Choose a base branch
from
Draft

Pull in changes from Lua 5.5 #696

wants to merge 158 commits into from

Conversation

Sainan
Copy link
Member

@Sainan Sainan commented Feb 6, 2024

Status: Waiting for Lua 5.5 to officially be released.

Noteworthy Changes:

  • Lua 5.5 changed the 'dump' format.
    • I've added support for loading dumps from Lua 5.4, so backward-compatibility in that regard is not an issue.
  • Lua 5.5 changed the format of instructions regarding 'for' loops.
    • Removed for loop optimization.
    • When loading bytecode from Lua 5.4, these instructions will cause an error.

Compatibility:

  • Pluto 0.10.0 can load bytecode generated by Lua 5.4 and Pluto versions based on it, but only as long as there are no 'for' loops.
  • Bytecode generated by Pluto 0.10.0 will not load on Pluto 0.9.x or below.
  • Integrators should not take this compatbility for granted and try to upgrade their bytecode to Lua 5.5 when it is possible.

@Sainan Sainan force-pushed the rebase branch 17 times, most recently from 9bd9d9f to 5b32200 Compare February 7, 2024 01:19
@Sainan Sainan changed the title Rebase Pull in changes from Lua 5.5 Feb 7, 2024
@Sainan Sainan force-pushed the 0.9.0 branch 2 times, most recently from c2d26d2 to c1c6412 Compare February 18, 2024 06:19
@Sainan Sainan force-pushed the 0.9.0 branch 2 times, most recently from a8ba578 to fca50d2 Compare February 24, 2024 13:25
@Sainan Sainan force-pushed the rebase branch 2 times, most recently from b3f25a4 to 6fec183 Compare February 25, 2024 18:21
@Sainan Sainan force-pushed the rebase branch 5 times, most recently from af74dc0 to 1a95fb1 Compare March 2, 2024 21:13
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