This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Você não pode selecionar mais de 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.
MegaIng 8908b4bd64 Updated docstrings 3 anos atrás
..
advanced Updated docstrings 3 anos atrás
relative-imports Examples: add import example 5 anos atrás
standalone Tiny adjustments 3 anos atrás
tests added tests for lark.lark changes 4 anos atrás
README.rst Examples: Fixes to paths (Issue #780) 3 anos atrás
__init__.py Added examples (calc, json) 7 anos atrás
calc.py Improvements to puppet + other small stuff 4 anos atrás
fruitflies.png Improved Readme 6 anos atrás
fruitflies.py added make_dot 4 anos atrás
indented_tree.py inital sphinx gallery 4 anos atrás
json_parser.py Adjustments 4 anos atrás
lark_grammar.py Moved `lark.lark` into the standard library. 3 anos atrás
turtle_dsl.py inital sphinx gallery 4 anos atrás

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