lua-users home
lua-l archive

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


On Wed, Jul 15, 2015 at 12:05:23AM +0900, Simon Cozens wrote:
> On 15/07/2015 00:03, Daniel Silverstone wrote:
> > The one Lua-based project I have which really doesn't play nicely with multiple
> > lua versions simply refuses to work if the version is not the one it is written
> > for.
> 
> I think the take-away here is that each minor revision of Lua should be
> regarded as a different language.

Exactly!  In other words never start your scripts with #!lua, always
specify the Lua version.

BTW, a while ago I started a thread to make the point that standardizing
the Lua interpreter name would enable developers like you to just write
#!lua5.1 to select Lua 5.1 on all platforms.

Best,
-- 
Enrico Tassi