Erez Sh 8f7e50e520 | пре 3 година | |
---|---|---|
.. | ||
advanced | пре 3 година | |
composition | пре 3 година | |
relative-imports | пре 5 година | |
standalone | пре 3 година | |
tests | пре 4 година | |
README.rst | пре 3 година | |
__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.advanced.python_parser
Beginner Examples
~~~~~~~~~~~~~~~~~