This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Erez Sh 53b58e7137 Examples: Added correct type-info to the create_ast example пре 3 година
..
advanced Examples: Added correct type-info to the create_ast example пре 3 година
composition Examples: Tiny fix пре 3 година
relative-imports Examples: add import example пре 5 година
standalone Tiny adjustments пре 3 година
tests added tests for lark.lark changes пре 4 година
README.rst Examples: Fixes to paths (Issue #780) пре 3 година
__init__.py Added examples (calc, json) пре 7 година
calc.py Improvements to puppet + other small stuff пре 4 година
fruitflies.png Improved Readme пре 6 година
fruitflies.py added make_dot пре 4 година
indented_tree.py inital sphinx gallery пре 4 година
json_parser.py Adjustments пре 4 година
lark_grammar.py Moved `lark.lark` into the standard library. пре 3 година
turtle_dsl.py inital sphinx gallery пре 4 година

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