This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Erez Sh 53b58e7137 Examples: Added correct type-info to the create_ast example il y a 3 ans
..
advanced Examples: Added correct type-info to the create_ast example il y a 3 ans
composition Examples: Tiny fix il y a 3 ans
relative-imports Examples: add import example il y a 5 ans
standalone Tiny adjustments il y a 3 ans
tests added tests for lark.lark changes il y a 4 ans
README.rst Examples: Fixes to paths (Issue #780) il y a 3 ans
__init__.py Added examples (calc, json) il y a 7 ans
calc.py Improvements to puppet + other small stuff il y a 4 ans
fruitflies.png Improved Readme il y a 6 ans
fruitflies.py added make_dot il y a 4 ans
indented_tree.py inital sphinx gallery il y a 4 ans
json_parser.py Adjustments il y a 4 ans
lark_grammar.py Moved `lark.lark` into the standard library. il y a 3 ans
turtle_dsl.py inital sphinx gallery il y a 4 ans

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