A language that compiles to Bash and Windows Batch
Browse cluster: Cluster 10 →Batsh is a programming language that compiles to both Bash and Windows Batch, enabling developers to write a single script that runs on multiple platforms without additional dependencies. The project addresses the problem domain of cross-platform scripting by providing a C-based syntax that is easier to read and write than the historically messy Bash and Batch languages. Batsh is implemented in OCaml and built with dependencies including dune, core_kernel, ounit, dlist, and cmdliner, and was originally created by Carbo Kuo before being transferred to current maintainers who have updated it to work with recent OCaml versions.