lua-users home
lua-l archive

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



On Jan 5, 2018, at 7:27 AM, Paul Merrell <marbux@gmail.com> wrote:

On Fri, Jan 5, 2018 at 1:06 AM, sur-behoffski
<sur_behoffski@grouse.com.au> wrote:
Roberto's written a short "strict.lua" script, that resides in the
etc/ subdirectory of the release, but isn't explicitly installed on
at least two Debian-descendant distributions that I've used, including
the source-based Gentoo Linux.

Roberto's script is explicitly compatible with Lua 5.1 and 5.2.  I
haven't checked whether the 5.3 case works (I'm limiting myself to
5.1, for the moment).

I use strict.lua with v. 5.3 routinely, although I don't remember
where I got it.

Best regards,

Paul

Another option (as a luarocks dependency or for copying into place in your own distribution), with additional features over lhf’s original is:

  https://github.com/lua-stdlib/strict

Cheers,
Gary