> Integrating some actual programming features could be a game changer.

LuaTeX already lets you embed Lua code and it is really good.

However, I do agree some usability improvements are needed.