This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Erez Sh 22f50e9490 Examples: A minor fix 3 år sedan
..
advanced Examples: A few minor changes 3 år sedan
relative-imports Examples: add import example 5 år sedan
standalone Examples: A minor fix 3 år sedan
tests added tests for lark.lark changes 4 år sedan
README.rst Examples: Fixes to paths (Issue #780) 3 år sedan
__init__.py Added examples (calc, json) 7 år sedan
calc.py Improvements to puppet + other small stuff 4 år sedan
fruitflies.png Improved Readme 6 år sedan
fruitflies.py added make_dot 4 år sedan
indented_tree.py inital sphinx gallery 4 år sedan
json_parser.py Adjustments 4 år sedan
lark_grammar.py Moved `lark.lark` into the standard library. 3 år sedan
turtle_dsl.py inital sphinx gallery 4 år sedan

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