8 comments

  • namegulf1 minute ago
    [delayed]
  • ivanjermakov16 minutes ago
    Any language is a shell script if you&#x27;re brave enough: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Shebang_%28Unix%29" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Shebang_%28Unix%29</a>
  • karma_daemon8 minutes ago
    unclear use case imo - this sacrifices the ergonomics of actual bash scripting, and hides it behind another language<p>If your script is complex enough to need a higher level language you might as well just switch to python
  • onlyrealcuzzo27 minutes ago
    Just wanted to say that I think you did a great job with your examples showing why someone might be interested in this language.
  • gdevenyi39 minutes ago
    &gt; Typescript to bash<p>Literally the worst of both worlds.
    • classified19 minutes ago
      Bash is great for orchestrating other Unix tools into an automated workflow. Only when that workflow requires stuff that Bash doesn&#x27;t have is it time to break out Python. Integrate Shellcheck into your editor, and you get automated help for writing more reliable Bash.
  • wg040 minutes ago
    Much needed. I have hard time understanding bash.
  • Hammershaft22 minutes ago
    Another alternative for writing Bash is Babashka, which is a Clojure dialect.
  • serious_angel45 minutes ago
    Thank you, but... why not just write in Bash, or the shell you prefer? Why learn a yet another opinionated wrapper?<p>Yes, Bash or any shell is a very complex and utterly environment dependent language to approach with all due care for security and compatibility, yet hence the lack of wrapper that may not even be aware of these crucial cases at all.
    • threatofrain39 minutes ago
      Your argument is down to the weights.<p>There are other communities where movement in the language came from outside tooling that built extensions on top of the language, such as Sass or TypeScript.
      • nicce27 minutes ago
        It always comes to be a social problem. Sort of. I want to use X instead of Y, but maybe everyone does not want the same, or adaption of X is harder in technology wise. So I use wrapper Z that compiles to Y, and avoid some problems, but bring new problems. Maybe these problems are smaller ones than just keeping to use Y directly.
    • greekrich9242 minutes ago
      If you don&#x27;t want to use it, don&#x27;t use it
    • KerrAvon40 minutes ago
      bash is really painful to use for anything beyond the most rudimentary logic. Bourne and Mashey were terrible language designers. (By contrast, Thompson&#x27;s V6 shell is very elegant, if limited.)<p>That said, this should just be a shell itself and not something that generates into other shell dialects. Otherwise, why not use Ruby or something like it that has actual expressive power?