Erez Sh 47316488dd | преди 3 години | |
---|---|---|
.. | ||
advanced | преди 3 години | |
relative-imports | преди 5 години | |
standalone | преди 4 години | |
tests | преди 4 години | |
README.rst | преди 4 години | |
__init__.py | преди 7 години | |
calc.py | преди 4 години | |
fruitflies.png | преди 6 години | |
fruitflies.py | преди 4 години | |
indented_tree.py | преди 4 години | |
json_parser.py | преди 4 години | |
lark_grammar.py | преди 3 години | |
turtle_dsl.py | преди 4 години |
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.python_parser
Beginner Examples
~~~~~~~~~~~~~~~~~