Esempio n. 1
0
File: parser.py Progetto: rfw/kessel
 def __rshift__(self, rhs):
     return Parser(combinators.sequence_r(self, rhs))
Esempio n. 2
0
 def test_parses(self):
     self.assertParse(
         combinators.sequence_r(primitives.any_, primitives.any_),
         "e", "llo", "hello")