workin' on chapter6
parsing of binary op definitions seems to be working
This commit is contained in:
parent
bd02b838d3
commit
e1f14c98f5
2 changed files with 802 additions and 3 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue