luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
249 stars 58 forks source link

Version compat #333

Open truemedian opened 4 days ago

truemedian commented 4 days ago

Now bringing luajit-independence to lit. It was mostly used to check if the os was windows or not. Other os-level checks have been replaced with luv.os_uname()

For support with Lua 5.4, loadstring has been replaced with a selection between loadstring and load, whichever is available. The same has happened with unpack and table.unpack.

luvit-loader now supports injecting a searcher instead of a loader.

I have tested that this works with a Lua Luvi 2.15.0 to lit make luvit.