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 9ba30f23b2
Merge pull request #995 from lark-parser/more_changes
pirms 3 gadiem
..
advanced Merge pull request #995 from lark-parser/more_changes pirms 3 gadiem
composition Examples: Tiny fix pirms 3 gadiem
relative-imports Examples: add import example pirms 5 gadiem
standalone Tiny adjustments pirms 3 gadiem
tests added tests for lark.lark changes pirms 4 gadiem
README.rst Examples: Fixes to paths (Issue #780) pirms 3 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 Rename lexer: Standard/Traditional -> Basic pirms 3 gadiem
lark_grammar.py Moved `lark.lark` into the standard library. pirms 3 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.advanced.python_parser

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