summaryrefslogtreecommitdiff
path: root/examples/test.py
blob: bf8c6d2c3f473cc2f87c8acc8407447870768cf7 (plain)
1
2
3
4
import earlpy
p = earlpy.Parser("grammars/expression")
node = p.parse_string("1 + 1 + 2 + 3")
print(node.pprint())
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback