Neat!
A really cool enhancement to this would be if the compiler could target a polyglot script that is both Shell and Batch. For example: https://stackoverflow.com/a/17623721
Then you'd get a single script that would automatically be portable and executable on pretty much every conceivable platform.