Commits

Juha Komulainen committed e6255e1

Removed dead code.

Comments (0)

Files changed (1)

     def to_sgf(self):
         return "[%s]" % str(self.value) # todo
 
-# combinators
-
-def one_or_more(parser):
-    results = [parser()]
-    results.extend(zero_or_more(parser))
-    return results
-
-def zero_or_more(parser):
-    results = []
-    try:
-        while True:
-            results.append(parser())
-    except ParseError:
-        return results
-        
-def either(p1, p2):
-    try:
-        return p1()
-    except ParseError:
-        return p2()
-
 # utils
 
 def is_prop_ident_begin(c):