This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
Erez Sh bc3923aed8 Added more terminals to grammars/ folder 3 lat temu
..
advanced Added more terminals to grammars/ folder 3 lat temu
relative-imports Examples: add import example 5 lat temu
standalone Standalone generator now remove docstrings and comments. 4 lat temu
tests added tests for lark.lark changes 4 lat temu
README.rst move advanced examples to a different folder 4 lat temu
__init__.py Added examples (calc, json) 7 lat temu
calc.py Improvements to puppet + other small stuff 4 lat temu
fruitflies.png Improved Readme 6 lat temu
fruitflies.py added make_dot 4 lat temu
indented_tree.py inital sphinx gallery 4 lat temu
json_parser.py Adjustments 4 lat temu
lark.lark fixed lark.lark requiring newline at the end of grammars 4 lat temu
lark_grammar.py added tests for lark.lark changes 4 lat temu
turtle_dsl.py inital sphinx gallery 4 lat temu

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