Robin A. Dorstijn fb8800914b | há 3 anos | |
---|---|---|
.. | ||
advanced | há 3 anos | |
relative-imports | há 5 anos | |
standalone | há 3 anos | |
tests | há 4 anos | |
README.rst | há 3 anos | |
__init__.py | há 7 anos | |
calc.py | há 4 anos | |
fruitflies.png | há 6 anos | |
fruitflies.py | há 4 anos | |
indented_tree.py | há 4 anos | |
json_parser.py | há 4 anos | |
lark_grammar.py | há 3 anos | |
turtle_dsl.py | há 4 anos |
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
~~~~~~~~~~~~~~~~~