This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Peter Wienemann d28eba4f9a Fix typos in comment of example code 3 лет назад
..
advanced Fix typos in comment of example code 3 лет назад
composition Examples: Tiny fix 3 лет назад
relative-imports Examples: add import example 5 лет назад
standalone Tiny adjustments 3 лет назад
tests added tests for lark.lark changes 4 лет назад
README.rst Examples: Fixes to paths (Issue #780) 3 лет назад
__init__.py Added examples (calc, json) 7 лет назад
calc.py Improvements to puppet + other small stuff 4 лет назад
fruitflies.png Improved Readme 6 лет назад
fruitflies.py added make_dot 4 лет назад
indented_tree.py inital sphinx gallery 4 лет назад
json_parser.py Adjustments 4 лет назад
lark_grammar.py Moved `lark.lark` into the standard library. 3 лет назад
turtle_dsl.py inital sphinx gallery 4 лет назад

README.rst

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
~~~~~~~~~~~~~~~~~