This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Erez Sh 47316488dd Merge branch 'grammars-lark-lark' of https://github.com/MegaIng/lark into MegaIng-grammars-lark-lark há 3 anos
..
advanced Earley error reporting - initial (Issue #760) há 3 anos
relative-imports Examples: add import example há 5 anos
standalone Standalone generator now remove docstrings and comments. há 4 anos
tests added tests for lark.lark changes há 4 anos
README.rst move advanced examples to a different folder há 4 anos
__init__.py Added examples (calc, json) há 7 anos
calc.py Improvements to puppet + other small stuff há 4 anos
fruitflies.png Improved Readme há 6 anos
fruitflies.py added make_dot há 4 anos
indented_tree.py inital sphinx gallery há 4 anos
json_parser.py Adjustments há 4 anos
lark_grammar.py Moved `lark.lark` into the standard library. há 3 anos
turtle_dsl.py inital sphinx gallery há 4 anos

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.python_parser

Beginner Examples
~~~~~~~~~~~~~~~~~