Rogdham bb123e0999 | 5 years ago | |
---|---|---|
.. | ||
relative-imports | 5 years ago | |
standalone | 6 years ago | |
README.md | 5 years ago | |
__init__.py | 7 years ago | |
calc.py | 6 years ago | |
conf_earley.py | 6 years ago | |
conf_lalr.py | 6 years ago | |
custom_lexer.py | 5 years ago | |
error_reporting_lalr.py | 6 years ago | |
fruitflies.png | 7 years ago | |
fruitflies.py | 7 years ago | |
indented_tree.py | 6 years ago | |
json_parser.py | 6 years ago | |
lark.lark | 5 years ago | |
lark_grammar.py | 5 years ago | |
python2.lark | 5 years ago | |
python3.lark | 5 years ago | |
python_parser.py | 6 years ago | |
qscintilla_json.py | 6 years ago | |
reconstruct_json.py | 6 years ago | |
turtle_dsl.py | 7 years ago |
After cloning the repo, open the terminal into the root directory of the project, and run the following:
[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:
[lark]$ python -m examples.python_parser