The dmlc
walks the parse tree of the logical markup once again. Whenever a logical type is declared, the compiler looks up the corresponding presentational primitive in the presentation view symbol table by id. Just as a person reads a construction of Archimedes and draws geometric symbols on the page, so does the generator send the appropriate primitive, keyed to the logical type by label, to the emitter. The generator also passes along any styling information. Currently, the only emitter implemented for the dmlc
is the EpixToSVGEmitter
. However other emitters for other presentational models and other image formats could be defined. In the next section, we will take a closer look at the SVG format that is the target language for this version of the dmlc
.