diff options
author | Matthew Sotoudeh <matthew@masot.net> | 2024-02-19 02:25:28 -0800 |
---|---|---|
committer | Matthew Sotoudeh <matthew@masot.net> | 2024-02-19 02:25:28 -0800 |
commit | ffc6388571004b17e3a3dee2511ec99076ee803a (patch) | |
tree | ba14dfc0fc0b1beae949e12b8853fa690d588d2a /examples/test.py |
initial dump
Diffstat (limited to 'examples/test.py')
-rw-r--r-- | examples/test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/test.py b/examples/test.py new file mode 100644 index 0000000..bf8c6d2 --- /dev/null +++ b/examples/test.py @@ -0,0 +1,4 @@ +import earlpy +p = earlpy.Parser("grammars/expression") +node = p.parse_string("1 + 1 + 2 + 3") +print(node.pprint()) |