See https://rash-lang.org/ for more info.
Rash is a shell language embedded in the general-purpose programming language Racket. This video explains why embedding a shell inside a general-purpose language can be better than implementing a shell as a stand-alone language, and explains the design of Rash.