Here's that blog post I promised I'd write! It's about how I set out to write a text editor after rereading Peter Naur's "Programming as Theory Building" and ended up writing a shell script instead.
https://eli.li/2023/02/18/moon-maker
Shout outs to @llimllib for some assistance figuring out how to traverse a file tree upwards!
@eli_oat @llimllib half expected to read "so now I'm writing a structural editor"