Skip to content

Version for Lua 5.1.5? (patches exist) #2

@goodusername123

Description

@goodusername123

There exists functional patches to add both Compound Operators and Continue for Lua 5.1.5 and I think it would be nice if they could have a home here (even if it does expend the Hairy Bits section) as the patches in question aren't the easiest to track down if you aren't directly looking for them since they don't appear on the Lua Power Patches page or the ones that do are outdated versions.

I know that Lua 5.1 is pretty old and it's recommended to just use LuaJIT instead however there are some projects out there that are sorta stuck with Lua 5.1 due to having a bunch of project specific modifications to the Lua source code that are unable to be brought to LuaJIT or even some less serious cases where it's just a project being unwilling to switch due to strange or messy build systems.

Oh also something important to note is the 5.1 Compound Operators patch I'm pretty sure breaks bytecode compatibility do to how it modifies the VM (Virtual Machine) which should probably be wrote/noted in the README somewhere if this is added

kinda unrelated

oh also as a small extra bit of information that doesn't pertain exactly to this issue/discussion post the Continue support currently in this repo was Originally talked about here (Archived snapshot). only reason I'm including this is because I was looking for it and I don't remember how I found it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions