This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
Erez Shinan 84b195d5f0
Merge pull request #691 from starwarswii/patch-1
hace 4 años
..
advanced Write examples for ForestVisitor and TreeForestTransformer hace 4 años
relative-imports Examples: add import example hace 5 años
standalone Standalone generator now remove docstrings and comments. hace 4 años
tests added tests for lark.lark changes hace 4 años
README.rst move advanced examples to a different folder hace 4 años
__init__.py Added examples (calc, json) hace 7 años
calc.py Improvements to puppet + other small stuff hace 4 años
fruitflies.png Improved Readme hace 6 años
fruitflies.py added make_dot hace 4 años
indented_tree.py inital sphinx gallery hace 4 años
json_parser.py Adjustments hace 4 años
lark.lark fixed lark.lark requiring newline at the end of grammars hace 4 años
lark_grammar.py added tests for lark.lark changes hace 4 años
turtle_dsl.py inital sphinx gallery hace 4 años

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