Thoughts

mental health break ,./'"**^^$_---
So I theorized about this block-based language. And ES has "program fragments" that are basically just my blocks.
=> https://thoughts.learnerpages.com/?show=55b51146-2a55-471b-8957-6ac3dc929427 ``` { echo "hello"; echo "world"; } # prints "hello\nworld" x = { echo hello, world } $x # prints "hello, world" myfunc $x # Calls myfunc with the block x as a parameter ``` Since ES is a shell, it can get away with doing what I didn't want to do, which is conditionally expand and evaluate the block based on position, since you have to use `$` to reference variables in ES anyways. (ES is based on rc, it's possible rc does the same thing, I don't know.)
Link 5:00 p.m. Feb 23, 2022 UTC-5