workin' on chapter6

parsing of binary op definitions seems to be working
This commit is contained in:
Eli Bendersky 2015-01-30 11:33:39 -08:00
commit e1f14c98f5
2 changed files with 802 additions and 3 deletions

View file

@ -449,7 +449,5 @@ class TestParser(unittest.TestCase):
if __name__ == '__main__':
buf = '''2+3*fob(12, kwa)-.12'''
print('Parsing:', buf)
p = Parser(buf)
p = Parser('def bina(a b) a + b')
print(p.parse_toplevel().dump())