batsh-dev-team/Batsh
View on GitHub ↗ ★ 4,349 OCaml
A language that compiles to Bash and Windows Batch
18 mentions on Hacker News by 18 people: 5 stories, 13 comments · first 2013-12-09 · latest 2024-05-21
20082026
-
…a while back called Batsh. But Amber looks a lot more polished and has some nice safety about it. https://github.com/batsh-dev-team/Batsh
comment by burky · 2024-05-21 · in Amber: Programming language compiled to Bash -
https://github.com/batsh-dev-team/Batsh https://github.com/tdenniston/bish (Just fyi. I've been collecting links to similar things because of Reasons).
comment by flir · 2023-12-26 · in Show HN: Just.sh – compiler that turns Justfiles into portable shell scripts -
There's interesting cross-platform "shell" that compiles to either Bash or cmd (bat) - Batsh[1]. [1] https://github.com/batsh-dev-team/Batsh
comment by xvilka · 2022-02-17 · in Pure Bash Bible – A collection of pure bash alternatives to external processes -
…me of Batsh [0], a C-like language that compiles to bash for Linux/Mac and batch for Windows. [0] https://github.com/batsh-dev-team/Batsh
comment by kej · 2021-10-20 · in s/bash/zsh/g -
…portable idiom makes the most sense and not something specific wrt bash. But in this case I know of https://github.com/BYVoid/Batsh and https://github.com/kanaka/mal/tree/master/bash
comment by sitkack · 2019-10-20 · in Compiling my own SPARC CPU inside a cheap FPGA -
▲ 2
Batsh – A Language That Compiles to Bash and Windows Batchstory by miduil · 2019-07-22 · 1 comment
-
…they could probably add a lot more features.... Windows seems to be holding them back. [1]: https://github.com/BYVoid/Batsh
comment by agentgt · 2016-08-25 · in Bash Infinity: A standard library and a boilerplate framework for Bash -
…to use” but Batsh itself doesn’t support piping [1], a core feature of shell languages. [1]: https://github.com/BYVoid/Batsh/issues/17
comment by hk__2 · 2016-05-19 · in A language that compiles to Bash and Windows Batch -
▲ 392
A language that compiles to Bash and Windows Batchstory by onecooldev24 · 2016-05-19 · 142 comments
-
Check out Batsh (which "compiles" to Bash *.bat): Editor: http://batsh.org/ Source: https://github.com/BYVoid/Batsh/
comment by valgaze · 2015-03-09 · in Show HN: Bish – Shell scripting with a modern feel -
Very related. I was about to write a js to shell script compiler when I came across https://github.com/BYVoid/Batsh it takes C/java-style code and spits out a bash script. The shell script will run on windows osx and *nix.
comment by morenoh149 · 2015-02-22 · in An Introduction to Unix (2014) -
▲ 2
Batsh – A language that compiles to Bash and Windows Batchstory by areski · 2015-01-06 · 1 comment
-
I think you missed the second option in the README, “Install from OPAM” ( https://github.com/BYVoid/Batsh/tree/master#install-from-opa... ). To summarize, you can install the OPAM system with your package manager with a command such as…
comment by roryokane · 2014-09-02 · in Batsh – A language that compiles to Bash and Windows Batch -
Source: https://github.com/BYVoid/Batsh
comment by xkarga00 · 2014-09-02 · in Batsh – A language that compiles to Bash and Windows Batch -
…because it's not supported in windows batch. Just googled it. Doesn't seem to be supported yet: https://github.com/BYVoid/Batsh/issues/17
comment by j_jochem · 2014-09-01 · in Batsh – A language that compiles to Bash and Windows Batch -
…"Batsh"[0], a neat compile-to-bash-or-BAT language. Makes programming in shell not painful :D [0] https://github.com/BYVoid/Batsh
comment by girvo · 2014-07-08 · in OCaml for the Masses (2011) -
▲ 2
Batsh – A language that compiles to Bash and Windows Batchstory by susi22 · 2014-02-24 · 1 comment
-
▲ 4
Batsh: A language that compiles to Bash and Windows Batchstory by nfoz · 2013-12-09 · 0 comments