This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Erez Shinan 84b195d5f0
Merge pull request #691 from starwarswii/patch-1
pirms 4 gadiem
..
advanced Write examples for ForestVisitor and TreeForestTransformer pirms 4 gadiem
relative-imports Examples: add import example pirms 5 gadiem
standalone Standalone generator now remove docstrings and comments. pirms 4 gadiem
tests added tests for lark.lark changes pirms 4 gadiem
README.rst move advanced examples to a different folder pirms 4 gadiem
__init__.py Added examples (calc, json) pirms 7 gadiem
calc.py Improvements to puppet + other small stuff pirms 4 gadiem
fruitflies.png Improved Readme pirms 6 gadiem
fruitflies.py added make_dot pirms 4 gadiem
indented_tree.py inital sphinx gallery pirms 4 gadiem
json_parser.py Adjustments pirms 4 gadiem
lark.lark fixed lark.lark requiring newline at the end of grammars pirms 4 gadiem
lark_grammar.py added tests for lark.lark changes pirms 4 gadiem
turtle_dsl.py inital sphinx gallery pirms 4 gadiem

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