1. 12

  2. 3

    Geeez, reading through https://github.com/oilshell/oil/issues/653 referenced in the article is kinda mind-blowing… in my mind, it evokes an image of like, let’s say, observing two sage and highly respected entomologists, quietly and respectfully ⁠— yet with a precisely mastered undercurrent of unstoppable passion ⁠— discussing the intricacies of sexual life of a rare species of bees, where their discussion has a potential for a significant impact on pollination (and thus harvest and food production) of half the plants of the […programming…] world… :)

    1. 3

      Haha, yeah I encourage everyone to read the two links under ble.sh here.


      I didn’t go into detail in the post, because I don’t fully understand it yet, but it has explicit state machines for decoding utf-8, for decoding terminal escape sequences, a pretty darn complete bash parser in bash, with an AST, some kind of coroutine/fiber abstraction, some kind of drawing buffer, etc.

      It is truly astonishing. I think it’s the most complex shell program by a country mile. And I’ve been doing this for almost 4 years and I just found about it a few weeks ago :)