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

lua-tinyexpr

Fast, embeddable and safe expression parser in C

$ luarocks install lua-tinyexpr

lua-tinyexpr is a tiny and safe Lua binding for tinyexpr. It is used primarily for calculators, parsing external expressions and easily performing complex calculations.

An AST parser is used to divide the expression into chunks as a "tree" and evaluate it.

Versions

0.1.0-1139 days ago17 downloads

Dependencies

lua >= 5.1

Manifests