Maciej Fijalkowski  committed d75f107

leave some comments, this is an exercise after all

  • Participants
  • Parent commits 85950d4
  • Branches default
  • Tags parser-boilerplate

Comments (0)

Files changed (1)

File kermit/

 _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):
 transformer = Transformer()
 def parse(source):
+    """ Parse the source code and produce an AST
+    """
     return transformer.visit_main(_parse(source))