Hacker GitHub

← All repos

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

Mentions per year 18 mentions · busiest year 2014 (5)
20082026
  1. …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
  2. 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).
  3. There's interesting cross-platform "shell" that compiles to either Bash or cmd (bat) - Batsh[1]. [1] https://github.com/batsh-dev-team/Batsh
  4. …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
  5. …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
  6. ▲ 2
    Batsh – A Language That Compiles to Bash and Windows Batch
    story by miduil · 2019-07-22 · 1 comment
  7. …they could probably add a lot more features.... Windows seems to be holding them back. [1]: https://github.com/BYVoid/Batsh
  8. …to use” but Batsh itself doesn’t support piping [1], a core feature of shell languages. [1]: https://github.com/BYVoid/Batsh/issues/17
  9. ▲ 392
    A language that compiles to Bash and Windows Batch
    story by onecooldev24 · 2016-05-19 · 142 comments
  10. Check out Batsh (which "compiles" to Bash *.bat): Editor: http://batsh.org/ Source: https://github.com/BYVoid/Batsh/
  11. 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)
  12. ▲ 2
    Batsh – A language that compiles to Bash and Windows Batch
    story by areski · 2015-01-06 · 1 comment
  13. 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…
  14. Source: https://github.com/BYVoid/Batsh
  15. …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
  16. …"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)
  17. ▲ 2
    Batsh – A language that compiles to Bash and Windows Batch
    story by susi22 · 2014-02-24 · 1 comment
  18. ▲ 4
    Batsh: A language that compiles to Bash and Windows Batch
    story by nfoz · 2013-12-09 · 0 comments