Erez Sh 53b58e7137 | 3 years ago | |
---|---|---|
.. | ||
advanced | 3 years ago | |
composition | 3 years ago | |
relative-imports | 5 years ago | |
standalone | 3 years ago | |
tests | 4 years ago | |
README.rst | 3 years ago | |
__init__.py | 7 years ago | |
calc.py | 4 years ago | |
fruitflies.png | 7 years ago | |
fruitflies.py | 4 years ago | |
indented_tree.py | 4 years ago | |
json_parser.py | 4 years ago | |
lark_grammar.py | 4 years ago | |
turtle_dsl.py | 4 years ago |
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
~~~~~~~~~~~~~~~~~