@neauoire This is really neato. 👀
Structural editing is part of why I want to use a TLV based "sourceless" representation in my PocketViewer thingy. (The other is compactness.)
It's interesting that the builtin microlisp editor is also technically just a structural editor for lists, but the interface is like ed(1).
Unixy software wastes so much code space and CPU cycles with parsers, so for a truly low tech solution, I think it's best to stick to a single simple grammar.
@csepp I agree, these source files as so tiny! This is all assembled code right, so the only strings in the project are label names and comments.
It was surprisingly easy to implement, it'll change how I code a lot I suspect.