1. 17
  1.  

  2. 2

    This was a wonderful read, and it reminded me of Rash, a merger of Racket and shell scripting. I find it interesting the blog post is embedding a shell-like syntax within Python, while Rash is a language that embeds Racket syntax within itself.

    1. 2

      Update: I turned this into a full python library with extra goodies, such as:

      • Piping to functions and generators for dynamic interaction
      • Switching between text/binary mode
      • More ways to add arguments
      • Having commands run in the background
      • globs
      1. 2

        Reminded me of https://xon.sh :)

        1. 2

          Brings this to mind: http://amoffat.github.io/sh/

          1. 1

            Yep and I think that explicitly partially applying using their bake is a nice API. The blog post’s API supports pipes (and redirections!) which in my opinion is nicer than what the sh library offers.