String substitution engine

$ luarocks install strsubst

Replacing expressions within strings. An expression is defined as possibly nested
sequence of text, operators and subexpressions in braces.

This is similar to the string expansions many shells offer, with a slightly different syntax and semantic as the expressions are completely within braces and operators work on text, not variables.

In unix shell '${x}' expands a variable, here it is {$x} for example.

There are operators for many common tasks like defining variables, string handling like search/replacment, math and comparisons.


0.4-17 years ago97 downloads
0.3-17 years ago44 downloads
0.2-18 years ago122 downloads


lua >= 5.1