This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
Erez Shinan 8f914cf78b
Merge pull request #965 from MegaIng/dynamic_complete_example
hace 3 años
..
advanced Merge pull request #965 from MegaIng/dynamic_complete_example hace 3 años
composition Examples: Tiny fix hace 3 años
relative-imports Examples: add import example hace 5 años
standalone Tiny adjustments hace 3 años
tests added tests for lark.lark changes hace 4 años
README.rst Examples: Fixes to paths (Issue #780) hace 3 años
__init__.py Added examples (calc, json) hace 7 años
calc.py Improvements to puppet + other small stuff hace 4 años
fruitflies.png Improved Readme hace 6 años
fruitflies.py added make_dot hace 4 años
indented_tree.py inital sphinx gallery hace 4 años
json_parser.py Adjustments hace 4 años
lark_grammar.py Moved `lark.lark` into the standard library. hace 3 años
turtle_dsl.py inital sphinx gallery hace 4 años

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