Maybe XML is better than I thought even for hand typed coding. I wrote simple (incomplete) XML to C converter and here are results:
It needs more work but if someone is writing visual editor that can output XML...
You can use XSLT to convert between different XML formats. That would allow you to use your prefered visual editor.
I wrote a xml to reaction tool 10 years ago using expat.library, it created compilable code. Being able to draw GUIs on the fly without modifying the binaries didn't seem much useful as if you add new functions you would still need to recompile the C code anyway. Later I started to write a mui version but got a little bored.