Git Product home page Git Product logo

Comments (4)

wqferr avatar wqferr commented on June 1, 2024

Oh wow, I haven't touched this in what, years now? Could you please make a pull request for this? Also sorry for the late reply, I haven't been active on GitHub in general.

I currently don't have a development environment setup so I can't properly test, but I'd love to help. You could probably add something like

-- LuaJIT polyfill local unpack = unpack or table.unpack

to line 47, then replace calls to table.unpack with just unpack. IMO that'd be better than changing the table global.

Another caveat, though, is that I don't think init.lua is automatically loaded in 5.1 if I recall correctly... Regardless, if you could test it out a bit I'd really appreciate it!

from functional.

wqferr avatar wqferr commented on June 1, 2024

I just saw the luarocks page and remembered: this is exactly the kind of stuff I couldn't be bothered with 2 years ago so I just said "nope, Lua 5.2 or higher". Glad to see someone cleaning up after my mess! Also just saw your issue over at teal, it's a nice feeling not only someone having found this old project of mine, and actually trying to keep it up to date. Just wanted to say I'm grateful and here if you need help.

from functional.

wqferr avatar wqferr commented on June 1, 2024

Forgot I need to tag you so you actually get these by email, sorry!

@FractalU

from functional.

wqferr avatar wqferr commented on June 1, 2024

Should work for 5.1 and JIT now! If it doesn't, please comment here and I'll reopen the issue. Meanwhile, I'm off to help over at creating functional.d.tl!

from functional.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.