If it is defined, it will be called with the result of the complete transformation after the routine for the root node returns something. The return value of postprocess will then be used as output. You may, if you want, define a routine called handler which handles exceptions. Everything else that the main program looks for is a compound-rendering routine. The transformation is handled by a routine called xf which is in the minse module.
Transformation starts by calling xf on the root node of the tree.
Numbers and names are just plain strings, and text is represented as a tuple whose first element is None . Here's a snippet from the current style file showing how some operators are defined. The group routine just alternates between parentheses and brackets on the way down. The rendering is performed by glyphd , a standalone HTTP server that renders the GIF images on the fly. In addition, the rendering daemon first replaces all underscores in its URL with spaces.