lua-users home
lua-l archive

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

On Thursday, May 07, 2015 04:56:54 PM Daurnimator wrote:
> This is sort of what I did in lua-http:

The _VERSION test is redundant. You could just test the return from load and 
if it succeeds you know you're on Lua 5.3 or some other compatible 
interpreter. Test for features, not versions.

tom <>