My answer to your question turned into a YouTube and article https://programmingsimplicity.substack.com/p/modernizing-program-compilation?r=1egdky. I think of diagram compilation in the same way that I think about textual program compilation - read the source, the run it through a compilation pipeline. The answer to your question is that the diagram produces an XML (graphML) file, then the rest of compilation is done in the usual manner. To me, XML and diagrams are the same as characters and words in 1960s compiler technology. I hope that the sketches in the article clarify how I think of compilation in 2025.
So does editing the diagram manipulate the underlying text file? And vice versa?
My answer to your question turned into a YouTube and article https://programmingsimplicity.substack.com/p/modernizing-program-compilation?r=1egdky. I think of diagram compilation in the same way that I think about textual program compilation - read the source, the run it through a compilation pipeline. The answer to your question is that the diagram produces an XML (graphML) file, then the rest of compilation is done in the usual manner. To me, XML and diagrams are the same as characters and words in 1960s compiler technology. I hope that the sketches in the article clarify how I think of compilation in 2025.