This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Robin A. Dorstijn fb8800914b Added advanced example for merge_transformers 3 роки тому
..
advanced Added advanced example for merge_transformers 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
~~~~~~~~~~~~~~~~~