Lua as a whole is incredibly underrated, especially given things like LuaJIT - I don't understand why it felt out of popularity with most people. Maybe related to Roblox.
For better or worse CorsixTH makes extensive use of these techniques, as the config format [1], the translation format [2], and even the format for the update check [3]
[1] https://github.com/CorsixTH/CorsixTH/blob/master/CorsixTH/Lu...
[2] https://github.com/CorsixTH/CorsixTH/blob/master/CorsixTH/Lu...
[3] https://github.com/CorsixTH/CorsixTH/blob/gh-pages/check-for...
It’s also pretty nice that a verb plus a table is implicitly a function call. This means you can easily do things that seem to be types:
m = Menagerie {
Dog { tail, ears, snout=long },
Cat { you, get, the=idea },
table.unpack(ark),
}
It's not a coincidence that Lua's good at representing data -- the language started life as a data-specification syntax called Simple Object Language. Or SOL (sun), which evolved into Lua (moon). If you've used BibTeX, then SOL will look familiar -- also not a coincidence! (BibTeX was first.)
The article indirectly nods to that history by linking here: https://www.lua.org/history.html#:~:text=All%20this%20config...