Yuescript is a dynamic language that compiles to Lua
yuescript.org
yuescript.org
Incidentally, my favorite Clojure environment for Neovim is written in Fennel! https://github.com/Olical/conjure (via Aniseed [https://github.com/Olical/aniseed] which enables you to write Neovim configuration and plugins in Fennel)
So Yuescript just looks like a polished and cleaned-up Moonscript, which is fine. But the elusive "new language which compiles to Lua" may never materialize, because Lua just isn't all that flexible.
The data structures are unchanged, so you have to remember to use base index 1 etc, but you get modern syntax and TS's great inferred typing system.
Definitely scales better than raw Lua but you get the perf and compat wherever Lua[jit] is supported.
It's nice if you used to use Lua and you use TS as a daily driver, you just have to remember the differences.
There's also Teal (https://github.com/teal-language/tl) but I haven't gotten around to trying it, it may be less confusing to others.
Assuming you won't write large code bases, I fail to see why would I use this instead of Lua.
(I have been running a SMS gateway for the last 15 years. Full code base is Lua (Openresty). Gateway configuration is also Lua; several hundreds of Lua code per configuration file)
I don't see why not.