a library for safe evaluation of Lua literal expressions

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-29 years ago102 downloads

Dependencies

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