I've been trolling a friend of mine with all these fun bash posts who (friendly) despises my bash scripting and constantly reminds me that I should use a real language. When I sent him my little...
I've been trolling a friend of mine with all these fun bash posts who (friendly) despises my bash scripting and constantly reminds me that I should use a real language. When I sent him my little "how to turn any bash script into a one liner", he described it as "the worst thing he's ever seen coded".
Years ago he was pretty heavy in development for minecraft, with plugins/mods and such. I can't wait to send him this. Thanks @hungariantoast !
What I love about this idea is that if you transpiled LLVM IR to Bash you should be capable of using the LLVM IR for GCC or Clang and producing a C compiler that runs in Bash. The project would be...
What I love about this idea is that if you transpiled LLVM IR to Bash you should be capable of using the LLVM IR for GCC or Clang and producing a C compiler that runs in Bash. The project would be a nightmare, but when finally done you could compile Bash using Bash by feeding the Bash source files into Bash-ified GCC or Clang.
I've been trolling a friend of mine with all these fun bash posts who (friendly) despises my bash scripting and constantly reminds me that I should use a real language. When I sent him my little "how to turn any bash script into a one liner", he described it as "the worst thing he's ever seen coded".
Years ago he was pretty heavy in development for minecraft, with plugins/mods and such. I can't wait to send him this. Thanks @hungariantoast !
His response, for completeness:
What does he consider a real language you should switch to? Real question.
Any. He's suggested python, node, and most recently go. And he's not wrong ... I'm just not motivated to learn a programming language.
Why do cats have to die edition
I'm starting to like the cursed bash posting with my morning coffee
Next someone needs to build it into LLVM. If we could compile LLVM IR into bash…
What I love about this idea is that if you transpiled LLVM IR to Bash you should be capable of using the LLVM IR for GCC or Clang and producing a C compiler that runs in Bash. The project would be a nightmare, but when finally done you could compile Bash using Bash by feeding the Bash source files into Bash-ified GCC or Clang.