Fast, flexible, small abbreviation engine
$ luarocks install tersen
Tersen is an abbreviation engine that compresses text in a
human-readable fashion. Abbreviations are user-specifiable
through a dictionary of textual mappings, and more complex behavior
can be obtained through small snippets of Lua code attached to
extensibility points called hooks and annotations.