Erez Sh e30eef7a53 | il y a 3 ans | |
---|---|---|
.. | ||
advanced | il y a 3 ans | |
relative-imports | il y a 5 ans | |
standalone | il y a 3 ans | |
tests | il y a 4 ans | |
README.rst | il y a 3 ans | |
__init__.py | il y a 7 ans | |
calc.py | il y a 4 ans | |
fruitflies.png | il y a 6 ans | |
fruitflies.py | il y a 4 ans | |
indented_tree.py | il y a 4 ans | |
json_parser.py | il y a 4 ans | |
lark_grammar.py | il y a 3 ans | |
turtle_dsl.py | il y a 4 ans |
Examples for Lark
=================
**How to run the examples**:
After cloning the repo, open the terminal into the root directory of the
project, and run the following:
.. code:: bash
[lark]$ python -m examples.<name_of_example>
For example, the following will parse all the Python files in the
standard library of your local installation:
.. code:: bash
[lark]$ python -m examples.advanced.python_parser
Beginner Examples
~~~~~~~~~~~~~~~~~