This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Erez Sh bc3923aed8 Added more terminals to grammars/ folder 3 년 전
..
advanced Added more terminals to grammars/ folder 3 년 전
relative-imports Examples: add import example 5 년 전
standalone Standalone generator now remove docstrings and comments. 4 년 전
tests added tests for lark.lark changes 4 년 전
README.rst move advanced examples to a different folder 4 년 전
__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.lark fixed lark.lark requiring newline at the end of grammars 4 년 전
lark_grammar.py added tests for lark.lark changes 4 년 전
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.python_parser

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