This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
~~~~~~~~~~~~~~~~~