Re:A language that compiles to Bash and Windows Batch
by eagsalazar2 on Thursday May 19, 2016 @06:23PM
(#11734344)
I've never tried but can't you already just run your node or ruby or whatever scripts on both Windows, Mac, Linux? Is there some reason targeting bash and batch is important?
[ Parent
| on HN ]
Re:A language that compiles to Bash and Windows Batch
by laported on Thursday May 19, 2016 @06:31PM
(#11734397)
From the README:
Why not Python/Ruby/Node.js/Lua
Yes you can use any of them as platform-independent glue code. But there are several disadvantages:
None of them is preinstalled on all platforms (including Windows).
Functionalities like process piping are not convenient to use.
Hard to integrate with existing code written in Bash or Batch.
Those reasons are why I developed Batsh.