Erez Shinan 9ba30f23b2 | pirms 3 gadiem | |
---|---|---|
.. | ||
advanced | pirms 3 gadiem | |
composition | pirms 3 gadiem | |
relative-imports | pirms 5 gadiem | |
standalone | pirms 3 gadiem | |
tests | pirms 4 gadiem | |
README.rst | pirms 3 gadiem | |
__init__.py | pirms 7 gadiem | |
calc.py | pirms 4 gadiem | |
fruitflies.png | pirms 6 gadiem | |
fruitflies.py | pirms 4 gadiem | |
indented_tree.py | pirms 4 gadiem | |
json_parser.py | pirms 3 gadiem | |
lark_grammar.py | pirms 3 gadiem | |
turtle_dsl.py | pirms 4 gadiem |
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
~~~~~~~~~~~~~~~~~