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