lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Great idea!  I'm in need of something like this.

On Sun, May 22, 2016 at 2:02 PM, Dhaval Kapil <me@dhavalkapil.com> wrote:
Hello, everyone!

'luavm' is a version manager for Lua.

https://github.com/DhavalKapil/luavm

Recently, I was working in lua and needed to switch between different versions frequently. This caused me various issues, like reinstalling versions of lua, reinstalling luarocks to with the new lua versions, etc. I even messed up with my installation somehow. To help deal with these problems and being inspired by the usefulness of 'nvm'(Node Version Manager) and 'rvm'(Ruby Version Manager) I decided to develop 'luavm'.

Features:

1. luavm helps to install multiple versions of Lua, LuaJIT, and Luarocks.
2. It helps to switch between these versions easily. At a particular time, only one version is in use.
3. The developer directly uses the commands 'lua', 'luajit' and 'luarocks' without worrying about anything.
4. Consistency is maintained between Luarocks and Lua. i.e. changing lua version also changes the luarocks version without any glitches.

My main motive was to remove from the programmer, the burden of managing different versions.

You can learn more about luavm by going to the above-mentioned link.

It is still in its development stage, suggestions and improvements are most welcome!
I would be very grateful if people try it and report back any bugs.

Thanks!
--
Dhaval Kapil