This does exist but bash/sh is missing proper types. Examples include, null and numbers and anonymous functions.
Mathematica and other software platforms use bash as universal installer for Mac and Linux. I have seen languages that compile to bash but use is limited based on the language.