Commits

Maciej Fijalkowski committed d75f107

leave some comments, this is an exercise after all

Comments (0)

Files changed (1)

kermit/sourceparser.py

 _parse = make_parse_function(regexs, rules, eof=True)
 
 class Transformer(object):
+    """ Transforms AST from the obscure format given to us by the ennfparser
+    to something easier to work with
+    """
     def visit_main(self, node):
         xxx
 
 transformer = Transformer()
 
 def parse(source):
+    """ Parse the source code and produce an AST
+    """
     return transformer.visit_main(_parse(source))