Re:Website Meta Language (2006)
by Mikhail_Edoshin on Sunday December 10, 2017 @02:17AM
(#15890372)
How many passes a conventional compiler does?
I don't know, but in my system I have, let's see: 1) read sources, 2) select the subset I want to publish, 3-4) resolve references (two steps), 5-6) assign XHTML IDs to references (two steps), 7) transform to XHTML, 8) update files. I don't see how I can make it smaller, that is, maybe I can cram everything into a single pass, but this will be much more complex than small steps in the pipeline.
And this is the minimum; it's pretty easy to add more passes for various extras.
Re:Website Meta Language (2006)
by jstimpfle on Sunday December 10, 2017 @08:38AM
(#15891310)
These 9 passes have only text interfaces. And that means the 9 languages have crude syntax. That's not comparable to your ordinary language's compiler.
I don't know, but in my system I have, let's see: 1) read sources, 2) select the subset I want to publish, 3-4) resolve references (two steps), 5-6) assign XHTML IDs to references (two steps), 7) transform to XHTML, 8) update files. I don't see how I can make it smaller, that is, maybe I can cram everything into a single pass, but this will be much more complex than small steps in the pipeline.
And this is the minimum; it's pretty easy to add more passes for various extras.