lua-users home
lua-l archive

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


On 15 July 2016 at 14:02, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 2016-07-14 20:55 GMT+02:00 Peter Melnichenko <mpeterval@gmail.com>:
>
>> I released version 0.10.0 of hererocks, a Python script for
>> fetching and installing Lua, LuaJIT and LuaRocks:
>>
>> https://github.com/mpeterv/hererocks
>
> Apart from the chicken-and-egg issue, why is the script not in Lua?

Precisely because of the chicken-and-egg issue, AFAIK. The Travis CI
environment, for instance, (a continuous integration server), has
built-in support for Python but not for Lua, so it's handy to set a
project type as "Python", run a pip command, and from there on get Lua
support. I believe that was one of the main use-cases (if not the main
use-case) hererocks was written for.

One thing I'd like to ask Peter and Dhaval is about the possibilities
of cooperation between hererocks and luaver development. They seem to
aim for similar (identical?) goals. The bash dependency seems
"lighter" than Python [*], but hererocks looks currently more
featureful (e.g. supporting various shells).

([*] In the OSX builds for LuaRocks on Travis, in particular, a good
chunk of the execution time seems to be spent installing Python.)

-- Hisham