Isn't ChatGPT (or some now not that far fetched futuristic version that's superior) a 5GL? You ask it for a program in English, and it codes it for you. You've just coded in natural language.
You still have to make sure the code runs correctly and incorporate it into the rest of the code base. You also need to have some idea of what sort of code you're asking for, particularly if it has to fit with existing code.
It can do that if constrained. There was a show HN of an app generation tool that was quite impressive: perhaps because it only created web apps and didn’t worry about stylistic design.
The original version of my site aidev.codes was a bit like that. The concept was to keep refining the spec and each time it would regenerate starting with whatever section had been modified. There was even a way to clone an "app spec" like with Codepens.
People generally didn't seem very interested. Also the bigger problem was that the gpt-3.5 models really wouldn't return the same thing consistently so a minor change could throw other things off.
Also a conversation feels like a much more intuitive way of doing it. So I switched to that.