LuaRocks.org had a security incident in September 2026. Read the incident report.

a library for safe evaluation of Lua literal expressions

$ luarocks install literal

literal is a library for safe evaluation of Lua literal expressions, written in pure Lua. It can evaluate literals like nil, true, false, decimal and hexadecimal numerical constants, short and long strings, and tables of other literals. It can use grammar of Lua 5.1 or Lua 5.2, and provides error messages similar to those of Lua compiler.

Versions

0.1-212 years ago133 downloads

Dependencies

30log >= 0.7
lua >= 5.1, < 5.3

Manifests