I don't know why I haven't thought of this before, but I kinda love the idea of an AST Editor.
One interesting thing about GPT&cetera is that in order to "cheat" by using it, you need to clearly describe the problem you are trying to solve. If we can get more people to design before coding begins, I think we're going to have a win in any case.
I’m building a semi-structured editor for UI - I’ve described it as “vim for designers.” Just as an example of how varied the general idea can be.
I was working on a programming language for designers, and have recently been thinking that it just works better if you build against an AST directly instead of text.
The language is called Matry: