Erez Sh bc3923aed8 | 3 년 전 | |
---|---|---|
.. | ||
advanced | 3 년 전 | |
relative-imports | 5 년 전 | |
standalone | 4 년 전 | |
tests | 4 년 전 | |
README.rst | 4 년 전 | |
__init__.py | 7 년 전 | |
calc.py | 4 년 전 | |
fruitflies.png | 6 년 전 | |
fruitflies.py | 4 년 전 | |
indented_tree.py | 4 년 전 | |
json_parser.py | 4 년 전 | |
lark.lark | 4 년 전 | |
lark_grammar.py | 4 년 전 | |
turtle_dsl.py | 4 년 전 |
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
~~~~~~~~~~~~~~~~~