This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
Erez Sh e30eef7a53 Commit latest master to v1.0 před 3 roky
..
advanced Commit latest master to v1.0 před 3 roky
relative-imports Examples: add import example před 5 roky
standalone Commit latest master to v1.0 před 3 roky
tests added tests for lark.lark changes před 4 roky
README.rst Examples: Fixes to paths (Issue #780) před 3 roky
__init__.py Added examples (calc, json) před 7 roky
calc.py Improvements to puppet + other small stuff před 4 roky
fruitflies.png Improved Readme před 6 roky
fruitflies.py added make_dot před 4 roky
indented_tree.py inital sphinx gallery před 4 roky
json_parser.py Adjustments před 4 roky
lark_grammar.py Moved `lark.lark` into the standard library. před 3 roky
turtle_dsl.py inital sphinx gallery před 4 roky

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