Erez Sh e30eef7a53 | vor 3 Jahren | |
---|---|---|
.. | ||
advanced | vor 3 Jahren | |
relative-imports | vor 5 Jahren | |
standalone | vor 3 Jahren | |
tests | vor 4 Jahren | |
README.rst | vor 3 Jahren | |
__init__.py | vor 7 Jahren | |
calc.py | vor 4 Jahren | |
fruitflies.png | vor 6 Jahren | |
fruitflies.py | vor 4 Jahren | |
indented_tree.py | vor 4 Jahren | |
json_parser.py | vor 4 Jahren | |
lark_grammar.py | vor 3 Jahren | |
turtle_dsl.py | vor 4 Jahren |
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
~~~~~~~~~~~~~~~~~