Erez Sh 22f50e9490 | hace 3 años | |
---|---|---|
.. | ||
advanced | hace 3 años | |
relative-imports | hace 5 años | |
standalone | hace 3 años | |
tests | hace 4 años | |
README.rst | hace 3 años | |
__init__.py | hace 7 años | |
calc.py | hace 4 años | |
fruitflies.png | hace 6 años | |
fruitflies.py | hace 4 años | |
indented_tree.py | hace 4 años | |
json_parser.py | hace 4 años | |
lark_grammar.py | hace 3 años | |
turtle_dsl.py | hace 4 años |
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
~~~~~~~~~~~~~~~~~