On 7 May 2013 02:47, Thijs Schreijer <th...@thijsschreijer.nl> wrote:
>> >
>> > Are there that many rocks that fail when switching to 5.2 that this is a
>> > major issue?
>>
>> Most C bindings break. Lua-only modules should be ok, unless they use
>> setfenv.
>>
>
> That's a bit of over simplification:
> - Lots of code still having the 'module' statement (LuaRocks, coxpcall,
>   copas, to new very commonly used ones). Easy to fix as it is a compile
>   time error if I'm not mistaken

'module' is deprecated but it is still present in Lua 5.2. I run
LuaRocks in Lua 5.2 all the time (it does have a runtime check for
setfenv and any other Lua-5.1-specific code). If 'module' really goes
away in Lua 5.3, I may follow Petite Abeille's approach and ship my
own version along.

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to