Is there a way to get this as a precompiled Windows binary? I really want to give this a try, but I'm just sooo lazy and don't want to install OPAM if there's maybe a way around that.
A language that compiles to Bash and Windows Batch
21–30 of 148 posts
Re: A language that compiles to Bash and Windows Batch
#22Earlier quoted context omitted.
I don't think windows comes with python installation.
It also doesn't come with any of the tools bash is a glue for, about the only reason one uses bash. At least with Python I can write my own grep and so on, and piping isn't so bad with coroutines and generators.
grep = findstr
cat = type
which = where
sort = sort
more = more
sudo = runas
Re: A language that compiles to Bash and Windows Batch
#23This is cool, but I hope the new Linux Subsystem in Windows 10 will propagate enough that everything can be written in bash
Re: A language that compiles to Bash and Windows Batch
#24Re: A language that compiles to Bash and Windows Batch
#25The project hasn't been worked on in over a year also it isn't the language that is much different but the tools. Are you going to write grep on windows? If not the language really doesn't matter.
Re: A language that compiles to Bash and Windows Batch
#26Re: A language that compiles to Bash and Windows Batch
#27Quite a few of my scripts need to find files relative to the location of the script, or compute the path to an output file by replacing the extension of an input file.
Re: A language that compiles to Bash and Windows Batch
#28Re: A language that compiles to Bash and Windows Batch
#29Re: A language that compiles to Bash and Windows Batch
#30Earlier quoted context omitted.
It also doesn't come with any of the tools bash is a glue for, about the only reason one uses bash. At least with Python I can write my own grep and so on, and piping isn't so bad with coroutines and generators.
Windows has knock-off versions of several unix tools: grep = findstr cat = type which = where sort = sort more = more sudo = runas