There is a https://amber-lang.com/ that compiles to bash.
A modern, type-safe programming language that catches bugs and errors at compile time.