Erez Sh 47316488dd | před 3 roky | |
---|---|---|
.. | ||
advanced | před 3 roky | |
relative-imports | před 5 roky | |
standalone | před 4 roky | |
tests | před 4 roky | |
README.rst | před 4 roky | |
__init__.py | před 7 roky | |
calc.py | před 4 roky | |
fruitflies.png | před 6 roky | |
fruitflies.py | před 4 roky | |
indented_tree.py | před 4 roky | |
json_parser.py | před 4 roky | |
lark_grammar.py | před 3 roky | |
turtle_dsl.py | před 4 roky |
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
~~~~~~~~~~~~~~~~~