def ast_to_string(ast_seq):
output = '<STR_LIT>'<EOL>for item in ast_seq:<EOL><INDENT>if isinstance(item, str):<EOL><INDENT>output = output + item<EOL><DEDENT>elif issequence(item):<EOL><INDENT>output = output + ast_to_string(item)<EOL><DEDENT><DEDENT>return output<EOL>
* Traverse an ast tree sequence, printing out all leaf nodes.

         This effectively rebuilds the expression the tree was built
         from.  I guess its probably missing whitespace.  How bout
         indent stuff and new lines?  Haven't checked this since we're
         currently only dealing with simple expressions.
    *