https://github.com/oilshell/oil/wiki/Internal-DSLs-for-Shell
e.g. points to another Haskell project, which may be old - https://github.com/jgoerzen/hsh/wiki
Which is related to the list of free-standing shells:
https://youtu.be/yXcwK3XNU3Y?si=XuABEBZReyfhraAh
Haven't tried it though.
This project could really benefit from picking up a couple of steady contributors. It looks like the author is a new dad, and his commit history looks about like what mine did at that stage.
These days https://babashka.org/ is a much better option. It's powerful, fast, modern, works everywhere and has effortless multitasking.
https://wryun.github.io/es-shell/
to run (a functionalish shell)