This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Erez Sh 22f50e9490 Examples: A minor fix 3 anni fa
..
advanced Examples: A few minor changes 3 anni fa
relative-imports Examples: add import example 5 anni fa
standalone Examples: A minor fix 3 anni fa
tests added tests for lark.lark changes 4 anni fa
README.rst Examples: Fixes to paths (Issue #780) 3 anni fa
__init__.py Added examples (calc, json) 7 anni fa
calc.py Improvements to puppet + other small stuff 4 anni fa
fruitflies.png Improved Readme 6 anni fa
fruitflies.py added make_dot 4 anni fa
indented_tree.py inital sphinx gallery 4 anni fa
json_parser.py Adjustments 4 anni fa
lark_grammar.py Moved `lark.lark` into the standard library. 3 anni fa
turtle_dsl.py inital sphinx gallery 4 anni fa

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